Skip to content

Commit bf195da

Browse files
committed
TST: remove pointless loop
1 parent cdc4c4c commit bf195da

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

pandas/tests/tseries/offsets/test_ticks.py

+6-8
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,9 @@ def test_compare_ticks(cls):
260260
three = cls(3)
261261
four = cls(4)
262262

263-
# TODO: WTF? What is this range(10) supposed to do?
264-
for _ in range(10):
265-
assert three < cls(4)
266-
assert cls(3) < four
267-
assert four > cls(3)
268-
assert cls(4) > three
269-
assert cls(3) == cls(3)
270-
assert cls(3) != cls(4)
263+
assert three < cls(4)
264+
assert cls(3) < four
265+
assert four > cls(3)
266+
assert cls(4) > three
267+
assert cls(3) == cls(3)
268+
assert cls(3) != cls(4)

0 commit comments

Comments
 (0)