Skip to content

Commit ed81226

Browse files
committed
-
1 parent 152d5d4 commit ed81226

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

source_py3/test_python_toolbox/test_sequence_tools/test_cute_range.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,9 @@
1010

1111

1212
def test():
13-
assert CuteRange(10.4, -float('inf'), -7.1)[:5] == (
14-
10.4,
15-
3.3,
16-
-3.8,
17-
-10.9,
18-
-18.0,
19-
-25.1
20-
)
13+
for x, y in zip((CuteRange(10.4, -float('inf'), -7.1)[:5]),
14+
(10.4, 3.3, -3.8, -10.9, -18.0, -25.1)):
15+
assert abs(x - y) < 0.000001
2116

2217

2318

0 commit comments

Comments
 (0)