From 4af54242422455ce9523df725b964f0fc68eced6 Mon Sep 17 00:00:00 2001 From: Daniel Campora Date: Wed, 24 Jun 2015 10:48:54 +0200 Subject: [PATCH] tests: Adapt misc/features.py tests for ports without floating point. --- tests/misc/features.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/misc/features.py b/tests/misc/features.py index d2fd8865c3..3efb476abb 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"))