diff options
| author | Daniel Campora <daniel@wipy.io> | 2015-06-24 10:48:54 +0200 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-06-24 17:53:29 +0100 |
| commit | 4af54242422455ce9523df725b964f0fc68eced6 (patch) | |
| tree | cd086af0d7d1900ad58b20ebd086afe965457506 | |
| parent | c5175526dda06d278dd569dd7bfce0c65cbbe5fc (diff) | |
tests: Adapt misc/features.py tests for ports without floating point.
| -rw-r--r-- | tests/misc/features.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/features.py b/tests/misc/features.py index d2fd8865c..3efb476ab 100644 --- a/tests/misc/features.py +++ b/tests/misc/features.py @@ -7,7 +7,7 @@ print("1") print("2") print(three) print("{}".format(4)) -five=25/5 +five=25//5 print(int(five)) j=0 for i in range(4): @@ -15,7 +15,7 @@ for i in range(4): print(j) print(3+4) try: - a=4/zero + a=4//zero except: print(8) print("xxxxxxxxx".count("x")) |
