Fix fast parser tests.
This commit is contained in:
1 parent
8569651bf4
commit
4d6afd3c99
8 files changed
+52
-36
No files matched your search
@@ -23,7 +23,7 @@ class ParseError(Exception):
|
||||
|
||||
def __init__(self, msg, type, value, start_pos):
|
||||
Exception.__init__(self, "%s: type=%r, value=%r, start_pos=%r" %
|
||||
(msg, type, value, start_pos))
|
||||
(msg, tokenize.tok_name[type], value, start_pos))
|
||||
self.msg = msg
|
||||
self.type = type
|
||||
self.value = value
|
||||
|
||||
Reference in new issue
Block a user