mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +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
|
@ -33,7 +33,7 @@ def test_current_time(self):
|
|||
delta = dt1 - dt0
|
||||
# The difference between the system time here and the system
|
||||
# time on the server should not be too big.
|
||||
self.assert_(delta.days <= 1)
|
||||
self.assertTrue(delta.days <= 1)
|
||||
|
||||
|
||||
def test_main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue