We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9264264 commit 5b9bb90Copy full SHA for 5b9bb90
tests/test_official.py
@@ -2,6 +2,7 @@
2
import inspect
3
import warnings
4
from collections import namedtuple
5
+import platform
6
7
import certifi
8
import logging
@@ -110,9 +111,9 @@ def check_object(h4):
110
111
112
113
def test_official():
- if not sys.version_info >= (3, 5):
114
- warnings.warn('Not running tests, since follow_wrapped is not supported on this platform'
115
- '(python version >= 3.5 required)')
+ if not sys.version_info >= (3, 5) or platform.python_implementation() != 'CPython':
+ warnings.warn('Not running "official" tests, since follow_wrapped is not supported'
116
+ 'on this platform (cpython version >= 3.5 required)')
117
return
118
119
http = urllib3.PoolManager(
0 commit comments