catacomb/__init__.py, mp.c: Remove `L' suffix from `repr' output.
[catacomb-python] / t / t-mp.py
index a88fa8d..ec84d74 100644 (file)
--- a/t/t-mp.py
+++ b/t/t-mp.py
@@ -69,7 +69,7 @@ class TestMP (U.TestCase):
   def test_string(me):
     y = C.MP(6556380541834372447694561492436749633)
     me.assertEqual(str(y), '6556380541834372447694561492436749633')
-    me.assertEqual(repr(y), 'MP(6556380541834372447694561492436749633L)')
+    me.assertEqual(repr(y), 'MP(6556380541834372447694561492436749633)')
     me.assertEqual(hex(y), '0x4eeb684a0954ec4ceb255e3e9778d41')
     me.assertEqual(oct(y), '047353320450112516611472622536175135706501')
 
@@ -411,7 +411,7 @@ class TestGF (U.TestCase):
   def test_string(me):
     y = C.GF(0x4eeb684a0954ec4ceb255e3e9778d41)
     me.assertEqual(str(y), '0x4eeb684a0954ec4ceb255e3e9778d41')
-    me.assertEqual(repr(y), 'GF(0x4eeb684a0954ec4ceb255e3e9778d41L)')
+    me.assertEqual(repr(y), 'GF(0x4eeb684a0954ec4ceb255e3e9778d41)')
     me.assertEqual(hex(y), '0x4eeb684a0954ec4ceb255e3e9778d41')
     me.assertEqual(oct(y), '047353320450112516611472622536175135706501')