convert usage of fail* to assert*
diff --git a/Lib/test/test_str.py b/Lib/test/test_str.py
index 5341af2..c546154 100644
--- a/Lib/test/test_str.py
+++ b/Lib/test/test_str.py
@@ -86,7 +86,7 @@
def __unicode__(self):
return "not unicode"
- self.assert_(str(Foo0()).startswith("<")) # this is different from __unicode__
+ self.assertTrue(str(Foo0()).startswith("<")) # this is different from __unicode__
self.assertEqual(str(Foo1()), "foo")
self.assertEqual(str(Foo2()), "foo")
self.assertEqual(str(Foo3()), "foo")