summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-05-12 19:42:04 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-05-12 19:42:04 (GMT)
commit0ff2ee0561302f8a5ce456e4c5c74acbf6ed73c5 (patch)
tree049fac52f8b05dbeb3c5f0983f678ff26f3b29f3 /Lib/test
parent11cb8135988ebe20631db08c60155d2a0b17c1b2 (diff)
downloadcpython-0ff2ee0561302f8a5ce456e4c5c74acbf6ed73c5.zip
cpython-0ff2ee0561302f8a5ce456e4c5c74acbf6ed73c5.tar.gz
cpython-0ff2ee0561302f8a5ce456e4c5c74acbf6ed73c5.tar.bz2
Effectively renamed tokenize_tests.py to have a txt extension instead.
This file isn't meant to be executed, it's data input for test_tokenize.py. The problem with the .py extension is that it uses "non-standard" indentation, and it's good to test that, but reindent.py keeps wanting to fix it. But fixing the indentation causes the expected-output file to change, since exact line and column numbers are part of the tokenize.tokenize() output getting tested.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_tokenize.py2
-rw-r--r--Lib/test/tokenize_tests.txt (renamed from Lib/test/tokenize_tests.py)0
2 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
index 22a1d90..d217404 100644
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -4,7 +4,7 @@ import tokenize, os, sys
if verbose:
print 'starting...'
-f = file(findfile('tokenize_tests'+os.extsep+'py'))
+f = file(findfile('tokenize_tests' + os.extsep + 'txt'))
tokenize.tokenize(f.readline)
f.close()
diff --git a/Lib/test/tokenize_tests.py b/Lib/test/tokenize_tests.txt
index e990a36..e990a36 100644
--- a/Lib/test/tokenize_tests.py
+++ b/Lib/test/tokenize_tests.txt