Skip to content

Commit 806a062

Browse files
committed
tests: test_call_at reorder asserts to debug ocasional test failure
1 parent 4c1e8ad commit 806a062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ def cb(inc):
186186
self.loop.run_forever()
187187
finished = time.monotonic()
188188

189+
self.assertEqual(i, 10)
190+
189191
self.assertLess(finished - started, 0.07)
190192
self.assertGreater(finished - started, 0.045)
191193

192-
self.assertEqual(i, 10)
193-
194194
def test_check_thread(self):
195195
def check_thread(loop, debug):
196196
def cb():

0 commit comments

Comments
 (0)