summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_import.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-07 17:26:53 (GMT)
committerBrett Cannon <brett@python.org>2013-06-07 17:26:53 (GMT)
commit997487d5d760a04bc6f5bcb8c881795ddd87e62b (patch)
tree6a91f18bbc86364c6316e89c8f8877c7d211b993 /Lib/test/test_import.py
parentabb18af38fdbcce9971960edd5ee5ad0b225055a (diff)
downloadcpython-997487d5d760a04bc6f5bcb8c881795ddd87e62b.zip
cpython-997487d5d760a04bc6f5bcb8c881795ddd87e62b.tar.gz
cpython-997487d5d760a04bc6f5bcb8c881795ddd87e62b.tar.bz2
Issue #7732: Move an imp.find_module test from test_import to
test_imp.
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r--Lib/test/test_import.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index 8be66a1..9c14e15 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -127,16 +127,6 @@ class ImportTests(unittest.TestCase):
finally:
del sys.path[0]
- @skip_if_dont_write_bytecode
- def test_bug7732(self):
- source = TESTFN + '.py'
- os.mkdir(source)
- try:
- self.assertRaisesRegex(ImportError, '^No module',
- imp.find_module, TESTFN, ["."])
- finally:
- os.rmdir(source)
-
def test_module_with_large_stack(self, module='longlist'):
# Regression test for http://bugs.python.org/issue561858.
filename = module + '.py'