mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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
|
@ -98,7 +98,7 @@ class TestBase:
|
|||
|
||||
def test_callback_long_index(self):
|
||||
def myreplace(exc):
|
||||
return (u'x', long(exc.end))
|
||||
return (u'x', int(exc.end))
|
||||
codecs.register_error("test.cjktest", myreplace)
|
||||
self.assertEqual(self.encode(u'abcd' + self.unmappedunicode + u'efgh',
|
||||
'test.cjktest'), ('abcdxefgh', 9))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue