summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2016-01-14 17:25:07 +0100
committerArmin Rigo <arigo@tunes.org>2016-01-14 17:25:07 +0100
commitab0d3cd2930e2cdf4bf5a84b1974993a2e7762ce (patch)
treea6bbfd80e7a76b31b9c68211c45490ac4a11d149 /testing
parentee68ae450a47ce37e8a5b84c3cb229ca499729c0 (diff)
downloadcffi-ab0d3cd2930e2cdf4bf5a84b1974993a2e7762ce.tar.gz
tried hard and failed to have the embedding tests run in a debug-mode python
Diffstat (limited to 'testing')
-rw-r--r--testing/embedding/test_basic.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/embedding/test_basic.py b/testing/embedding/test_basic.py
index 683777a..e618f49 100644
--- a/testing/embedding/test_basic.py
+++ b/testing/embedding/test_basic.py
@@ -4,6 +4,10 @@ import shutil, subprocess, time
from testing.udir import udir
import cffi
+if hasattr(sys, 'gettotalrefcount'):
+ py.test.skip("tried hard and failed to have these tests run "
+ "in a debug-mode python")
+
local_dir = os.path.dirname(os.path.abspath(__file__))
_link_error = '?'