Skip to content

Commit dc1ea11

Browse files
committed
Exclude some tests which always fail on windows
1 parent a2f9c94 commit dc1ea11

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/run-tests

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ def run_tests(pyb, tests, args):
4242
if pyb is None and platform.architecture()[0] == '64bit':
4343
pass
4444

45+
# Some tests use unsupported features on Windows
46+
if os.name == 'nt':
47+
skip_tests.add('extmod\\ujson_loads.py') #works but -2e-3 is printed as -0.002000000000000001 except for mingw-w64
48+
skip_tests.add('import\\import_file.py') #works but CPython prints forward slashes
49+
skip_tests.add('unix\\ffi_float.py')
50+
4551
# Some tests are known to fail with native emitter
4652
# Remove them from the below when they work
4753
if args.emit == 'native':

0 commit comments

Comments
 (0)