diff options
| author | Damien George | 2014-06-25 04:10:34 +0100 |
|---|---|---|
| committer | Damien George | 2014-06-25 04:10:34 +0100 |
| commit | e973acde81462de0c205f27db2642a08022fb3a8 (patch) | |
| tree | c6862ead76ae12979b3c3d6d1ec20774884c72ef /tests/float/math-fun.py | |
| parent | 780e54cdc3491409060f90003ca64fcdd3f9f1e6 (diff) | |
| parent | 939c2e7f448fbe6b44d0079d2fc33c7ac7eb32d0 (diff) | |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'tests/float/math-fun.py')
| -rw-r--r-- | tests/float/math-fun.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/float/math-fun.py b/tests/float/math-fun.py index 7a37c5845..fa111e33e 100644 --- a/tests/float/math-fun.py +++ b/tests/float/math-fun.py @@ -1,6 +1,11 @@ # Tests the functions imported from math -from math import * +try: + from math import * +except ImportError: + print("SKIP") + import sys + sys.exit() test_values = [-100., -1.23456, -1, -0.5, 0.0, 0.5, 1.23456, 100.] p_test_values = [0.1, 0.5, 1.23456] |
