Remove an overly specific exception message test.

This commit is contained in:
Brett Cannon 2011-03-16 20:11:52 -04:00
parent 55afb1a263
commit ecc2db5152

View file

@ -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