Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
svpcom committed Dec 31, 2024
1 parent 166e66b commit 87ea87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wfb_ng/tests/test_twisted.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_timer_resolution(self):

for i in range(iters):
ts = time.time_ns()
yield task.deferLater(reactor, delay)
yield task.deferLater(reactor, delay, lambda: None)
latency = time.time_ns() - ts - delay * 1e9
sum += latency
sqsum += latency**2
Expand Down

0 comments on commit 87ea87d

Please sign in to comment.