Author: Antonio Cuni <[email protected]>
Branch:
Changeset: r93529:726f599fb32a
Date: 2017-12-21 11:00 +0100
http://bitbucket.org/pypy/pypy/changeset/726f599fb32a/
Log: skip this test on platforms where _vmprof is not built
diff --git a/extra_tests/test_vmprof_greenlet.py
b/extra_tests/test_vmprof_greenlet.py
--- a/extra_tests/test_vmprof_greenlet.py
+++ b/extra_tests/test_vmprof_greenlet.py
@@ -1,7 +1,7 @@
import time
import pytest
import greenlet
-import vmprof
+vmprof = pytest.importorskip('vmprof')
def count_samples(filename):
stats = vmprof.read_profile(filename)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit