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_capi.py b/Lib/test/test_capi.py index 87fe13c..4dc3104 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py
@@ -41,7 +41,7 @@ if context and not context.event.is_set(): continue count += 1 - self.failUnless(count < 10000, + self.assertTrue(count < 10000, "timeout waiting for %i callbacks, got %i"%(n, len(l))) if False and test_support.verbose: print "(%i)"%(len(l),)