mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -31,7 +31,7 @@ class MimeToolsTest(unittest.TestCase):
|
|||
s = set([""])
|
||||
for i in xrange(100):
|
||||
nb = mimetools.choose_boundary()
|
||||
self.assert_(nb not in s)
|
||||
self.assertTrue(nb not in s)
|
||||
s.add(nb)
|
||||
|
||||
def test_message(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue