summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-29 15:10:30 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-29 15:10:30 (GMT)
commitfc26c0730c5c337f78150bef255b5f661900f01c (patch)
treea6d2076267b697d7cc3b11201ec59609d58d67ef
parenta29eafa614057a83d52baee6c08825f5a4cdc43c (diff)
downloadcpython-fc26c0730c5c337f78150bef255b5f661900f01c.zip
cpython-fc26c0730c5c337f78150bef255b5f661900f01c.tar.gz
cpython-fc26c0730c5c337f78150bef255b5f661900f01c.tar.bz2
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.
-rw-r--r--Lib/test/output/test_tokenize24
-rw-r--r--Lib/test/tokenize_tests.py6
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