Skip to content

Commit 2a344f3

Browse files
committed
Only run test on POSIX
Signed-off-by: Filipe Laíns <[email protected]>
1 parent 99b8236 commit 2a344f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_sysconfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ def test_makefile_overwrites_config_vars(self):
626626
self.assertNotEqual(data['prefix'], data['base_prefix'])
627627
self.assertNotEqual(data['exec_prefix'], data['base_exec_prefix'])
628628

629+
@unittest.skipIf(os.name != 'posix', '_sysconfig-vars JSON file is only available on POSIX')
629630
def test_sysconfigdata_json(self):
630631
if '_PYTHON_SYSCONFIGDATA_PATH' in os.environ:
631632
data_dir = os.environ['_PYTHON_SYSCONFIGDATA_PATH']

0 commit comments

Comments
 (0)