File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -117,13 +117,20 @@ def test_location(self):
117
117
# Override generic format tests with tests for our specific implemenation.
118
118
119
119
@needs_installed_python
120
- @unittest .skipIf (is_android or is_apple_mobile , 'Android and iOS run tests via a custom testbed method that changes sys.executable' )
120
+ @unittest .skipIf (
121
+ is_android or is_apple_mobile ,
122
+ 'Android and iOS run tests via a custom testbed method that changes sys.executable'
123
+ )
121
124
def test_base_interpreter (self ):
122
125
value = self .key ('base_interpreter' )
123
126
124
127
self .assertEqual (os .path .realpath (value ), os .path .realpath (sys .executable ))
125
128
126
129
@needs_installed_python
130
+ @unittest .skipIf (
131
+ is_android or is_apple_mobile ,
132
+ "Android and iOS run tests via a custom testbed method that doesn't ship headers"
133
+ )
127
134
def test_c_api (self ):
128
135
value = self .key ('c_api' )
129
136
self .assertTrue (os .path .exists (os .path .join (value ['headers' ], 'Python.h' )))
You can’t perform that action at this time.
0 commit comments