mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
This commit is contained in:
parent
fc7bb8c786
commit
e2a383d062
146 changed files with 1446 additions and 1477 deletions
|
@ -20,8 +20,8 @@ class TimeTestCase(unittest.TestCase):
|
|||
def test_conversions(self):
|
||||
self.assert_(time.ctime(self.t)
|
||||
== time.asctime(time.localtime(self.t)))
|
||||
self.assert_(long(time.mktime(time.localtime(self.t)))
|
||||
== long(self.t))
|
||||
self.assert_(int(time.mktime(time.localtime(self.t)))
|
||||
== int(self.t))
|
||||
|
||||
def test_sleep(self):
|
||||
time.sleep(1.2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue