Skip to content

Commit 206411c

Browse files
authored
Merge pull request #1708 from minrk/poll-tolerance
loosen poll test tolerance
2 parents f62d902 + 062bbca commit 206411c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zmq/tests/test_poll.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ def test_timeout(self):
166166
tic = time.perf_counter()
167167
poller.poll(0.005)
168168
toc = time.perf_counter()
169-
toc - tic < 0.1
169+
toc - tic < 0.5
170170
tic = time.perf_counter()
171171
poller.poll(50)
172172
toc = time.perf_counter()
173-
assert toc - tic < 0.1
173+
assert toc - tic < 0.5
174174
assert toc - tic > 0.01
175175
tic = time.perf_counter()
176176
poller.poll(500)

0 commit comments

Comments
 (0)