From: Brett Cannon Date: Thu, 17 Mar 2011 00:11:52 +0000 (-0400) Subject: Remove an overly specific exception message test. X-Git-Tag: v3.3.0a1~2891^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecc2db515202456a67e9702ed94ce19fe5b4711f;p=thirdparty%2FPython%2Fcpython.git Remove an overly specific exception message test. --- diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index cf17c9615dc6..ebcc2ca48dbb 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