[Python-checkins] r75431 - python/trunk/Lib/test/test_tokenize.py

benjamin.peterson python-checkins at python.org
Thu Oct 15 03:56:25 CEST 2009


Author: benjamin.peterson
Date: Thu Oct 15 03:56:25 2009
New Revision: 75431

Log:
change test to what I intended

Modified:
   python/trunk/Lib/test/test_tokenize.py

Modified: python/trunk/Lib/test/test_tokenize.py
==============================================================================
--- python/trunk/Lib/test/test_tokenize.py	(original)
+++ python/trunk/Lib/test/test_tokenize.py	Thu Oct 15 03:56:25 2009
@@ -510,7 +510,7 @@
     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 @@
     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)


More information about the Python-checkins mailing list