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),)