diff options
author | Guido van Rossum <guido@python.org> | 2007-01-15 16:59:06 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-01-15 16:59:06 +0000 |
commit | e2a383d062434c05b73031f0da57fe82b9da8942 (patch) | |
tree | 1a6fb6b2c056a10ee227dbc75855b3fac6153414 /Lib/test/test_index.py | |
parent | fc7bb8c786fd9cb3b1ab84e1976620d0ab545777 (diff) | |
download | cpython-git-e2a383d062434c05b73031f0da57fe82b9da8942.tar.gz |
Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
Diffstat (limited to 'Lib/test/test_index.py')
-rw-r--r-- | Lib/test/test_index.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_index.py b/Lib/test/test_index.py index ecb566d5d5..0045469f01 100644 --- a/Lib/test/test_index.py +++ b/Lib/test/test_index.py @@ -15,7 +15,7 @@ class TrapInt(int): def __index__(self): return self -class TrapLong(long): +class TrapLong(int): def __index__(self): return self @@ -44,7 +44,7 @@ class BaseTestCase(unittest.TestCase): self.o.ind = 4 self.n.ind = 5 self.assertEqual(6 .__index__(), 6) - self.assertEqual(-7L.__index__(), -7) + self.assertEqual(-7 .__index__(), -7) self.assertEqual(self.o.__index__(), 4) self.assertEqual(self.n.__index__(), 5) |