Skip to content

Commit b0c93a4

Browse files
FFY00ambv
authored andcommitted
Skip BuildDetailsRelativePathsTests when cross-compiling
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 9586e45 commit b0c93a4

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
@@ -172,6 +172,7 @@ def test_libpython_static(self):
172172
self.assertEqual(f.read(8), b'!<arch>\n')
173173

174174

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

0 commit comments

Comments
 (0)