Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r93018:1465066182bd
Date: 2017-11-14 19:01 +0000
http://bitbucket.org/pypy/pypy/changeset/1465066182bd/
Log: tweak test
diff --git a/lib-python/3/test/test_inspect.py
b/lib-python/3/test/test_inspect.py
--- a/lib-python/3/test/test_inspect.py
+++ b/lib-python/3/test/test_inspect.py
@@ -2023,7 +2023,7 @@
# This doesn't work now.
# (We don't have a valid signature for "type" in 3.4)
- with self.assertRaisesRegex(ValueError, "no signature found"):
+ with self.assertRaisesRegex(ValueError, "signature"):
class ThisWorksNow:
__call__ = type
test_callable(ThisWorksNow())
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit