File: remove-2to3.patch

package info (click to toggle)
python-untokenize 0.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 132 kB
  • sloc: python: 325; makefile: 35
file content (11 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/test_acid.py
+++ b/test_acid.py
@@ -36,7 +36,7 @@
     """Return file encoding."""
     try:
         with open(filename, 'rb') as input_file:
-            from lib2to3.pgen2 import tokenize as lib2to3_tokenize
+            from fissix.pgen2 import tokenize as lib2to3_tokenize
             encoding = lib2to3_tokenize.detect_encoding(input_file.readline)[0]
 
             # Check for correctness of encoding.