summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-10-15 01:56:25 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-10-15 01:56:25 (GMT)
commite52657220c496dba6a7f84715e08f0c6a81d91dd (patch)
tree777ac3df12084bf7c3da05769676f2a4645e87e9 /Lib
parent447dc1565826c879faf544cda4bdd62546545166 (diff)
downloadcpython-e52657220c496dba6a7f84715e08f0c6a81d91dd.zip
cpython-e52657220c496dba6a7f84715e08f0c6a81d91dd.tar.gz
cpython-e52657220c496dba6a7f84715e08f0c6a81d91dd.tar.bz2
change test to what I intended
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_tokenize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
index e5371cf..5599921 100644
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -510,7 +510,7 @@ pass the '-ucompiler' option to process the full directory.
True
Evil tabs
- >>> dump_tokens("def f():\\n\\tif x\\n \tpass")
+ >>> dump_tokens("def f():\\n\\tif x\\n \\tpass")
NAME 'def' (1, 0) (1, 3)
NAME 'f' (1, 4) (1, 5)
OP '(' (1, 5) (1, 6)
@@ -521,7 +521,7 @@ Evil tabs
NAME 'if' (2, 1) (2, 3)
NAME 'x' (2, 4) (2, 5)
NEWLINE '\\n' (2, 5) (2, 6)
- INDENT ' ' (3, 0) (3, 9)
+ INDENT ' \\t' (3, 0) (3, 9)
NAME 'pass' (3, 9) (3, 13)
DEDENT '' (4, 0) (4, 0)
DEDENT '' (4, 0) (4, 0)