Skip to content

Commit bd21813

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

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
@@ -154,6 +154,7 @@ def test_c_api(self):
154154
self.assertTrue(os.path.exists(os.path.join(value['pkgconfig_path'], f'python-{version}.pc')))
155155

156156

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

0 commit comments

Comments
 (0)