mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +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
|
@ -293,8 +293,8 @@ class TestReduce(unittest.TestCase):
|
|||
)
|
||||
self.assertEqual(self.func(lambda x, y: x*y, range(2,8), 1), 5040)
|
||||
self.assertEqual(
|
||||
self.func(lambda x, y: x*y, range(2,21), 1L),
|
||||
2432902008176640000L
|
||||
self.func(lambda x, y: x*y, range(2,21), 1),
|
||||
2432902008176640000
|
||||
)
|
||||
self.assertEqual(self.func(lambda x, y: x+y, Squares(10)), 285)
|
||||
self.assertEqual(self.func(lambda x, y: x+y, Squares(10), 0), 285)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue