1. Carl Meyer
  2. cpythonv

Commits

Brett Cannon  committed b3db006

Remove an overly specific exception message test.

  • Participants
  • Parent commits 0a3b00d
  • Branches default

Comments (0)

Files changed (1)

File Lib/test/test_import.py

View file
             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