Skip to content

Commit 4af5424

Browse files
Daniel Camporadpgeorge
authored andcommitted
tests: Adapt misc/features.py tests for ports without floating point.
1 parent c517552 commit 4af5424

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/misc/features.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
print("2")
88
print(three)
99
print("{}".format(4))
10-
five=25/5
10+
five=25//5
1111
print(int(five))
1212
j=0
1313
for i in range(4):
1414
j += i
1515
print(j)
1616
print(3+4)
1717
try:
18-
a=4/zero
18+
a=4//zero
1919
except:
2020
print(8)
2121
print("xxxxxxxxx".count("x"))

0 commit comments

Comments
 (0)