Commit 32331aa7 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #336 from rntz/tester-object-new

tester.py: canonicalize_stderr: add substitution for object.__new__() error
parents 40256e68 c199bacc
......@@ -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