From ecc2db515202456a67e9702ed94ce19fe5b4711f Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 16 Mar 2011 20:11:52 -0400 Subject: Remove an overly specific exception message test. --- Lib/test/test_import.py | 2 -- 1 file changed, 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 -- cgit v0.12