mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
convert old fail* assertions to assert*
This commit is contained in:
parent
98d23f2e06
commit
c9c0f201fe
275 changed files with 4540 additions and 4540 deletions
|
@ -139,7 +139,7 @@ class LargeFileTest(unittest.TestCase):
|
|||
for pos in (2**31-1, 2**31, 2**31+1):
|
||||
with self.open(TESTFN, 'rb') as f:
|
||||
f.seek(pos)
|
||||
self.assert_(f.seekable())
|
||||
self.assertTrue(f.seekable())
|
||||
|
||||
|
||||
def test_main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue