mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +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
|
@ -83,7 +83,7 @@ class ModuleTest(unittest.TestCase):
|
|||
self.assertRaises(ValueError, string.atoi, " x1 ")
|
||||
|
||||
def test_atol(self):
|
||||
self.assertEqual(string.atol(" 1 "), 1L)
|
||||
self.assertEqual(string.atol(" 1 "), 1)
|
||||
self.assertRaises(ValueError, string.atol, " 1x ")
|
||||
self.assertRaises(ValueError, string.atol, " x1 ")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue