Author: Manuel Jacob <[email protected]>
Branch: py3.5
Changeset: r90447:1ae026527ab0
Date: 2017-03-01 18:57 +0100
http://bitbucket.org/pypy/pypy/changeset/1ae026527ab0/
Log: (stevie, mjacob) Fix attribute name.
diff --git a/pypy/interpreter/astcompiler/test/test_misc.py
b/pypy/interpreter/astcompiler/test/test_misc.py
--- a/pypy/interpreter/astcompiler/test/test_misc.py
+++ b/pypy/interpreter/astcompiler/test/test_misc.py
@@ -15,7 +15,7 @@
def app_test_warning_to_error_translation():
import warnings
-
+
with warnings.catch_warnings():
warnings.filterwarnings("error", module="<test string>")
statement = """\
@@ -31,4 +31,4 @@
assert err.lineno is not None
assert err.filename is not None
assert err.offset is not None
- assert err.message is not None
+ assert err.msg is not None
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit