Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r97833:73df60cabe78
Date: 2019-10-22 11:28 +0300
http://bitbucket.org/pypy/pypy/changeset/73df60cabe78/
Log: fix error msg for py3.6
diff --git a/pypy/interpreter/test/test_gateway.py
b/pypy/interpreter/test/test_gateway.py
--- a/pypy/interpreter/test/test_gateway.py
+++ b/pypy/interpreter/test/test_gateway.py
@@ -1164,7 +1164,7 @@
# issue bb-3091 crash in BuiltinCodePassThroughArguments0.funcrun
import sys
if '__pypy__' in sys.modules:
- msg_fmt = "%s instance as first argument (got %s"
+ msg_fmt = "'%s' object expected, got '%s'"
else:
msg_fmt = "'%s' object but received a '%s'"
for obj in (dict, set):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit