Skip to content

Commit 9db144a

Browse files
committed
Skip BuildDetailsRelativePathsTests when cross-compiling
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 5ef4dc8 commit 9db144a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Lib/test/test_build_details.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def test_libpython_dynamic(self):
194194
self.assertTrue(os.path.isfile(value['dynamic']))
195195

196196

197+
@unittest.skipIf('_PYTHON_SYSCONFIGDATA_NAME' in os.environ, 'Cross-compiling')
197198
@unittest.skipIf(os.name != 'posix', 'Feature only implemented on POSIX right now')
198199
@unittest.skipIf(is_wasm32, 'Feature not available on WebAssembly builds')
199200
class BuildDetailsRelativePathsTests(unittest.TestCase):

0 commit comments

Comments
 (0)