diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/float/modulo.py | 14 | ||||
-rwxr-xr-x | tests/run-tests | 4 |
2 files changed, 4 insertions, 14 deletions
diff --git a/tests/float/modulo.py b/tests/float/modulo.py deleted file mode 100644 index 911268513a..0000000000 --- a/tests/float/modulo.py +++ /dev/null @@ -1,14 +0,0 @@ -# check modulo matches python definition -# TODO we currenty fail with this -if False: - print(1.23456 % 0.7) - print(-1.23456 % 0.7) - print(1.23456 % -0.7) - print(-1.23456 % -0.7) - - a = 1.23456 - b = 0.7 - print(a % b) - print(a % -b) - print(-a % b) - print(-a % -b) diff --git a/tests/run-tests b/tests/run-tests index 21a0039e43..34f855d08d 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -33,6 +33,10 @@ def run_tests(pyb, tests, args): if os.getenv('TRAVIS') == 'true': skip_tests.add('basics/memoryerror.py') + # Some tests shouldn't be run on pyboard + if pyb is not None: + skip_tests.add('float/float_divmod.py') # tested by float/float_divmod_relaxed.py instead + # Some tests are known to fail with native emitter # Remove them from the below when they work if args.emit == 'native': |