[pypy-commit] pypy py3.5: Correctly skip test

rlamy pypy.commits at gmail.com
Thu Dec 28 10:23:37 EST 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r93588:e5c66b6446c5
Date: 2017-12-28 16:22 +0100
http://bitbucket.org/pypy/pypy/changeset/e5c66b6446c5/

Log:	Correctly skip test

diff --git a/pypy/module/cpyext/test/test_eval.py b/pypy/module/cpyext/test/test_eval.py
--- a/pypy/module/cpyext/test/test_eval.py
+++ b/pypy/module/cpyext/test/test_eval.py
@@ -344,9 +344,8 @@
                     return module.get_flags()""", ns)
         assert ns['nested_flags']() == (0, 0)
 
+    @pytest.mark.xfail("sys.platform == 'win32'", reason='Hangs the process', run=False)
     def test_recursive_function(self):
-        if sys.platform == 'win32':
-            assert False, 'hangs the process on win32'
         module = self.import_extension('foo', [
             ("call_recursive", "METH_NOARGS",
              """


More information about the pypy-commit mailing list