[pypy-commit] pypy py3.5: Skip CPython-specific test
rlamy
pypy.commits at gmail.com
Thu Nov 16 15:21:03 EST 2017
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r93064:44b2fd82cbfa
Date: 2017-11-16 20:20 +0000
http://bitbucket.org/pypy/pypy/changeset/44b2fd82cbfa/
Log: Skip CPython-specific test
diff --git a/lib-python/3/test/test_cprofile.py b/lib-python/3/test/test_cprofile.py
--- a/lib-python/3/test/test_cprofile.py
+++ b/lib-python/3/test/test_cprofile.py
@@ -1,7 +1,7 @@
"""Test suite for the cProfile module."""
import sys
-from test.support import run_unittest, TESTFN, unlink
+from test.support import run_unittest, TESTFN, unlink, cpython_only
# rip off all interesting stuff from test_profile
import cProfile
@@ -16,6 +16,7 @@
return _ProfileOutput
# Issue 3895.
+ @cpython_only
def test_bad_counter_during_dealloc(self):
import _lsprof
# Must use a file as StringIO doesn't trigger the bug.
More information about the pypy-commit
mailing list