From e2a383d062434c05b73031f0da57fe82b9da8942 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 15 Jan 2007 16:59:06 +0000 Subject: Rip out 'long' and 'L'-suffixed integer literals. (Rough first cut.) --- Lib/test/test_repr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/test/test_repr.py') diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py index 823298bfe5..1435c6f4a5 100644 --- a/Lib/test/test_repr.py +++ b/Lib/test/test_repr.py @@ -90,10 +90,10 @@ class ReprTests(unittest.TestCase): def test_numbers(self): eq = self.assertEquals eq(r(123), repr(123)) - eq(r(123L), repr(123L)) + eq(r(123), repr(123)) eq(r(1.0/3), repr(1.0/3)) - n = 10L**100 + n = 10**100 expected = repr(n)[:18] + "..." + repr(n)[-19:] eq(r(n), expected) -- cgit v1.2.1