mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove an overly specific exception message test.
This commit is contained in:
parent
55afb1a263
commit
ecc2db5152
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue