commit | 5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Jun 30 22:57:08 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Jun 30 22:57:08 2009 +0000 |
tree | 41f38aca16748628d53906337f06fdf087f52314 | |
parent | be96cf608fa656d7e53144cf85082ed5661e8c13 [diff] [blame] |
convert usage of fail* to assert*
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index c9682ab..f4a1649 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py
@@ -8,7 +8,7 @@ """Very basic test of import lock functions.""" def verify_lock_state(self, expected): - self.failUnlessEqual(imp.lock_held(), expected, + self.assertEqual(imp.lock_held(), expected, "expected imp.lock_held() to be %r" % expected) def testLock(self): LOOPS = 50