diff options
Diffstat (limited to 'Lib/test/test_str.py')
| -rw-r--r-- | Lib/test/test_str.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class StrTest( 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") |
