mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
Remove a dead test for a never-launched API
This commit is contained in:
parent
ff7f428b38
commit
ac9591a44a
1 changed files with 0 additions and 9 deletions
|
@ -469,15 +469,6 @@ class FindSpecTests:
|
||||||
self.assertEqual((name, None, None),
|
self.assertEqual((name, None, None),
|
||||||
self.util.find_spec(name))
|
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):
|
def test_nothing(self):
|
||||||
# None is returned upon failure to find a loader.
|
# None is returned upon failure to find a loader.
|
||||||
self.assertIsNone(self.util.find_spec('nevergoingtofindthismodule'))
|
self.assertIsNone(self.util.find_spec('nevergoingtofindthismodule'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue