[Python-checkins] cpython: Remove a dead test for a never-launched API

brett.cannon python-checkins at python.org
Fri Mar 27 19:21:34 CET 2015


https://hg.python.org/cpython/rev/2923c206d91b
changeset: 95225:2923c206d91b
user: Brett Cannon <brett at python.org>
date: Fri Mar 27 14:21:26 2015 -0400
summary:
 Remove a dead test for a never-launched API
files:
 Lib/test/test_importlib/test_util.py | 9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py
--- a/Lib/test/test_importlib/test_util.py
+++ b/Lib/test/test_importlib/test_util.py
@@ -469,15 +469,6 @@
 self.assertEqual((name, None, None),
 self.util.find_spec(name))
 
-# def test_success_path(self):
-# # Searching on a path should work.
-# name = 'some_mod'
-# path = 'path to some place'
-# with util.uncache(name):
-# with util.import_state(meta_path=[self.FakeMetaFinder]):
-# self.assertEqual((name, path, None),
-# self.util.find_spec(name, path))
-
 def test_nothing(self):
 # None is returned upon failure to find a loader.
 self.assertIsNone(self.util.find_spec('nevergoingtofindthismodule'))
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /