Commit c199bacc authored by Michael Arntzenius's avatar Michael Arntzenius

tester.py: canonicalize_stderr: add substitution for object.__new__() error

parent 384d7712
......@@ -110,6 +110,7 @@ def canonicalize_stderr(stderr):
substitutions = [
("NameError: global name '", "NameError: name '"),
("AttributeError: '(\w+)' object attribute '(\w+)' is read-only", "AttributeError: \\2"),
(r"TypeError: object.__new__\(\) takes no parameters", "TypeError: object() takes no parameters"),
]
for pattern, subst_with in substitutions:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment