mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +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
|
|
@ -34,7 +34,7 @@ class BufferSizeTest(unittest.TestCase):
|
|||
line = f.readline()
|
||||
self.assertEqual(line, s)
|
||||
line = f.readline()
|
||||
self.assert_(not line) # Must be at EOF
|
||||
self.assertTrue(not line) # Must be at EOF
|
||||
f.close()
|
||||
finally:
|
||||
support.unlink(support.TESTFN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue