diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2013-12-10 03:33:33 (GMT) |
---|---|---|
committer | Eric Snow <ericsnowcurrently@gmail.com> | 2013-12-10 03:33:33 (GMT) |
commit | e3c39ddd97a0582c6594207cc367ad8ae01ffe01 (patch) | |
tree | 11d74c9989dd1af5a236da82fb8514dd97ad142b /Lib/test/test_importlib/test_spec.py | |
parent | c1e7c747f92a27f1f2bb392dbbfbd2817591f44f (diff) | |
download | cpython-e3c39ddd97a0582c6594207cc367ad8ae01ffe01.zip cpython-e3c39ddd97a0582c6594207cc367ad8ae01ffe01.tar.gz cpython-e3c39ddd97a0582c6594207cc367ad8ae01ffe01.tar.bz2 |
Remove commented-out module spec test code and an out-of-date note.
Diffstat (limited to 'Lib/test/test_importlib/test_spec.py')
-rw-r--r-- | Lib/test/test_importlib/test_spec.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_importlib/test_spec.py b/Lib/test/test_importlib/test_spec.py index 9e73df8..8880ffc 100644 --- a/Lib/test/test_importlib/test_spec.py +++ b/Lib/test/test_importlib/test_spec.py @@ -17,13 +17,6 @@ import warnings class TestLoader: def __init__(self, path=None, is_package=None): -# if path: -# if is_package: -# if not path.endswith('.py'): -# path = os.path.join(path, '__init__.py') -# elif is_package is None: -# is_package = path.endswith('__init__.py') - self.path = path self.package = is_package @@ -554,9 +547,6 @@ class Source_ModuleSpecMethodsTests(ModuleSpecMethodsTests, unittest.TestCase): class ModuleReprTests: - # XXX Add more tests for repr(module) once ModuleSpec._module_repr() - # is in place? - def setUp(self): self.module = type(os)('spam') self.spec = self.machinery.ModuleSpec('spam', TestLoader()) |