summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-10-13 23:42:32 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-10-13 23:42:32 (GMT)
commit6d70870812d9e07a76c09fa4cf12c1d4bd9b91e8 (patch)
treed2acbab7abeae5c4266b75d890b06b5acccb524d /Lib/test/test_importlib
parentba3e4a0bc07b2bfead826216b46b9093facdbc6e (diff)
downloadcpython-6d70870812d9e07a76c09fa4cf12c1d4bd9b91e8.zip
cpython-6d70870812d9e07a76c09fa4cf12c1d4bd9b91e8.tar.gz
cpython-6d70870812d9e07a76c09fa4cf12c1d4bd9b91e8.tar.bz2
Clean up some warnings in test suite output.
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/import_/test_fromlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/import_/test_fromlist.py b/Lib/test/test_importlib/import_/test_fromlist.py
index 27b2270..c16c337 100644
--- a/Lib/test/test_importlib/import_/test_fromlist.py
+++ b/Lib/test/test_importlib/import_/test_fromlist.py
@@ -80,7 +80,7 @@ class HandlingFromlist(unittest.TestCase):
with util.import_state(meta_path=[importer]):
with self.assertRaises(ImportError) as exc:
import_util.import_('pkg', fromlist=['mod'])
- self.assertEquals('i_do_not_exist', exc.exception.name)
+ self.assertEqual('i_do_not_exist', exc.exception.name)
def test_empty_string(self):
with util.mock_modules('pkg.__init__', 'pkg.mod') as importer: