Author: Matti Picus <[email protected]>
Branch: win32-fixes6
Changeset: r92393:16f25737077e
Date: 2017-09-14 22:40 +0300
http://bitbucket.org/pypy/pypy/changeset/16f25737077e/
Log: skip more vmprof-related tests on win32
diff --git a/pypy/module/faulthandler/test/test_faulthander.py
b/pypy/module/faulthandler/test/test_faulthander.py
--- a/pypy/module/faulthandler/test/test_faulthander.py
+++ b/pypy/module/faulthandler/test/test_faulthander.py
@@ -1,3 +1,7 @@
+import sys, py
+if sys.platform == 'win32':
+ py.test.skip('vmprof disabled on windows')
+
class AppTestFaultHandler:
spaceconfig = {
"usemodules": ["faulthandler", "_vmprof"]
diff --git a/pypy/module/faulthandler/test/test_ztranslation.py
b/pypy/module/faulthandler/test/test_ztranslation.py
--- a/pypy/module/faulthandler/test/test_ztranslation.py
+++ b/pypy/module/faulthandler/test/test_ztranslation.py
@@ -1,3 +1,7 @@
+import sys, py
+if sys.platform == 'win32':
+ py.test.skip('vmprof disabled on windows')
+
from pypy.objspace.fake.checkmodule import checkmodule
def test_faulthandler_translates():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit