mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Undo Barry's change. This file is not imported, it's fed as input to
the tokenize module by test_tokenize.py. The FutureWarnings only appeared during installation, and I've figured out a way to suppress those in a different way.
This commit is contained in:
parent
a29eafa614
commit
fc26c0730c
2 changed files with 15 additions and 15 deletions
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue