summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_import.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2011-03-17 00:11:52 (GMT)
committerBrett Cannon <brett@python.org>2011-03-17 00:11:52 (GMT)
commitecc2db515202456a67e9702ed94ce19fe5b4711f (patch)
treea526a12cc10a53306546c3fa4dc884240b065e5e /Lib/test/test_import.py
parent55afb1a2630314a49277618af3e198db677d9135 (diff)
downloadcpython-ecc2db515202456a67e9702ed94ce19fe5b4711f.zip
cpython-ecc2db515202456a67e9702ed94ce19fe5b4711f.tar.gz
cpython-ecc2db515202456a67e9702ed94ce19fe5b4711f.tar.bz2
Remove an overly specific exception message test.
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r--Lib/test/test_import.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index cf17c96..ebcc2ca 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -283,8 +283,6 @@ class ImportTests(unittest.TestCase):
self.skipTest('path is not encodable to {}'.format(encoding))
with self.assertRaises(ImportError) as c:
__import__(path)
- self.assertEqual("Import by filename is not supported.",
- c.exception.args[0])
def test_import_in_del_does_not_crash(self):
# Issue 4236