Kaydet (Commit) ecc2db51 authored tarafından Brett Cannon's avatar Brett Cannon

Remove an overly specific exception message test.

üst 55afb1a2
...@@ -283,8 +283,6 @@ class ImportTests(unittest.TestCase): ...@@ -283,8 +283,6 @@ class ImportTests(unittest.TestCase):
self.skipTest('path is not encodable to {}'.format(encoding)) self.skipTest('path is not encodable to {}'.format(encoding))
with self.assertRaises(ImportError) as c: with self.assertRaises(ImportError) as c:
__import__(path) __import__(path)
self.assertEqual("Import by filename is not supported.",
c.exception.args[0])
def test_import_in_del_does_not_crash(self): def test_import_in_del_does_not_crash(self):
# Issue 4236 # Issue 4236
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment