mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
convert usage of fail* to assert*
This commit is contained in:
parent
be96cf608f
commit
5c8da86f3a
268 changed files with 5017 additions and 5017 deletions
|
|
@ -114,7 +114,7 @@ class MutableStringTest(UserStringTest):
|
|||
s = self.type2test("foobar")
|
||||
s2 = s.immutable()
|
||||
self.assertEqual(s, s2)
|
||||
self.assert_(isinstance(s2, UserString))
|
||||
self.assertTrue(isinstance(s2, UserString))
|
||||
|
||||
def test_iadd(self):
|
||||
s = self.type2test("foo")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue