[Python-checkins] cpython: Remove an overly specific exception message test.
brett.cannon
python-checkins at python.org
Thu Mar 17 19:16:48 CET 2011
http://hg.python.org/cpython/rev/b3db00621e2a
changeset: 68655:b3db00621e2a
parent: 68574:0a3b00d2c31c
user: Brett Cannon <brett at python.org>
date: Wed Mar 16 20:11:52 2011 -0400
summary:
Remove an overly specific exception message test.
files:
Lib/test/test_import.py
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -283,8 +283,6 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list