[pypy-commit] pypy py3.5: All the tests give a sensible result on PyPy too (tested manually in

arigo pypy.commits at gmail.com
Thu Jan 12 10:56:00 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89518:51b0c8f1d834
Date: 2017-01-12 16:55 +0100
http://bitbucket.org/pypy/pypy/changeset/51b0c8f1d834/

Log:	All the tests give a sensible result on PyPy too (tested manually in
	py3.5, revision e0ba73be669b, by setting maxDiff=None in the class).
	The details of the outputs differ too much to make it easy to
	generalize the tests to accept both CPython's and PyPy's style. For
	now let's skip the tests on PyPy.

diff --git a/lib-python/3/test/test_faulthandler.py b/lib-python/3/test/test_faulthandler.py
--- a/lib-python/3/test/test_faulthandler.py
+++ b/lib-python/3/test/test_faulthandler.py
@@ -41,6 +41,12 @@
     finally:
         support.unlink(filename)
 
+# NOTE: all the tests give a sensible result on PyPy too (tested
+# manually in py3.5, revision e0ba73be669b, by setting maxDiff=None in
+# the class).  The details of the outputs differ too much to make it
+# easy to generalize the tests to accept both CPython's and PyPy's
+# style.  For now let's skip the tests on PyPy.
+ at support.cpython_only
 class FaultHandlerTests(unittest.TestCase):
     def get_output(self, code, filename=None, fd=None):
         """


More information about the pypy-commit mailing list