commit | 5cfc79deaeabf4af3c767665098a37da9f375eda | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Feb 07 10:06:39 2014 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Fri Feb 07 10:06:39 2014 +0200 |
tree | 2696e5c9674d11398f0d207d58d1fcdd3ee420eb | |
parent | fe4ef392d5df73639337f02db2ad8100d615067d [diff] [blame] |
Issue #20532: Tests which use _testcapi now are marked as CPython only.
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 9013a7b..50c4bba 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py
@@ -17,7 +17,8 @@ import threading except ImportError: threading = None -import _testcapi +# Skip this test if the _testcapi module isn't available. +_testcapi = support.import_module('_testcapi') def testfunction(self):