diff options
-rw-r--r-- | Lib/test/output/test_tokenize | 24 | ||||
-rw-r--r-- | Lib/test/tokenize_tests.py | 6 |
2 files changed, 15 insertions, 15 deletions
diff --git a/Lib/test/output/test_tokenize b/Lib/test/output/test_tokenize index fce2fd7..ea55181 100644 --- a/Lib/test/output/test_tokenize +++ b/Lib/test/output/test_tokenize @@ -124,18 +124,18 @@ test_tokenize 42,11-42,12: OP '-' 42,12-42,13: NUMBER '1' 42,14-42,16: OP '!=' -42,17-42,30: NUMBER '020000000000L' -42,30-42,31: NEWLINE '\n' -43,0-43,13: NUMBER '037777777777L' -43,14-43,16: OP '!=' -43,17-43,18: OP '-' -43,18-43,19: NUMBER '1' -43,19-43,20: NEWLINE '\n' -44,0-44,11: NUMBER '0xffffffffL' -44,12-44,14: OP '!=' -44,15-44,16: OP '-' -44,16-44,17: NUMBER '1' -44,17-44,18: NEWLINE '\n' +42,17-42,29: NUMBER '020000000000' +42,29-42,30: NEWLINE '\n' +43,0-43,12: NUMBER '037777777777' +43,13-43,15: OP '!=' +43,16-43,17: OP '-' +43,17-43,18: NUMBER '1' +43,18-43,19: NEWLINE '\n' +44,0-44,10: NUMBER '0xffffffff' +44,11-44,13: OP '!=' +44,14-44,15: OP '-' +44,15-44,16: NUMBER '1' +44,16-44,17: NEWLINE '\n' 45,0-45,1: NL '\n' 46,0-46,16: COMMENT '# Long integers\n' 47,0-47,1: NAME 'x' diff --git a/Lib/test/tokenize_tests.py b/Lib/test/tokenize_tests.py index 2e55fb3..e990a36 100644 --- a/Lib/test/tokenize_tests.py +++ b/Lib/test/tokenize_tests.py @@ -39,9 +39,9 @@ x = 0 0xff <> 255 0377 <> 255 2147483647 != 017777777777 --2147483647-1 != 020000000000L -037777777777L != -1 -0xffffffffL != -1 +-2147483647-1 != 020000000000 +037777777777 != -1 +0xffffffff != -1 # Long integers x = 0L |