diff options
author | Damien George <damien@micropython.org> | 2025-08-10 22:23:26 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-15 00:23:16 +1000 |
commit | f493075d88be9ce851c4d401d041b801701975c3 (patch) | |
tree | 5019e3ea3d9df474a5588dcf65ad84207b0248d2 /tests/feature_check/float.py | |
parent | 744270ac1b9ed3929cd41d1a6e1f6ea0e785745d (diff) |
tests/run-tests.py: Automatically include float tests when possible.
This simplifies the code by removing the explicit addition of the "float/"
test directory for certain targets. It also means the tests won't be added
incorrectly, eg on a unix build without float.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/feature_check/float.py')
-rw-r--r-- | tests/feature_check/float.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/feature_check/float.py b/tests/feature_check/float.py deleted file mode 100644 index d6d2a99d2..000000000 --- a/tests/feature_check/float.py +++ /dev/null @@ -1,13 +0,0 @@ -# detect how many bits of precision the floating point implementation has - -try: - float -except NameError: - print(0) -else: - if float("1.0000001") == float("1.0"): - print(30) - elif float("1e300") == float("inf"): - print(32) - else: - print(64) |