Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r90054:48030bda1edd
Date: 2017-02-11 18:32 +0100
http://bitbucket.org/pypy/pypy/changeset/48030bda1edd/

Log:    Skip the final check in this test, with comment

diff --git a/lib-python/3/test/test_signal.py b/lib-python/3/test/test_signal.py
--- a/lib-python/3/test/test_signal.py
+++ b/lib-python/3/test/test_signal.py
@@ -580,9 +580,11 @@
 
         err = err.getvalue()
         if ('Exception ignored when trying to {action} to the signal wakeup fd'
-            not in err):
+            not in err) and {cpython_only}:
             raise AssertionError(err)
-        """.format(action=action)
+        """.format(action=action, cpython_only=support.check_impl_detail())
+        # note that PyPy produces the same error message, but sent to
+        # the real stderr instead of to sys.stderr.
         assert_python_ok('-c', code)
 
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to