Skip to content

Commit 82ca2fd

Browse files
authored
tests: close coverage gap for race condition (#261)
Closes #260
1 parent 1db493c commit 82ca2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_bidi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ def test_consumer_unexpected_error(self, caplog):
836836

837837
# Wait for the consumer's thread to exit.
838838
while consumer.is_active:
839-
pass
839+
pass # pragma: NO COVER (race condition)
840840

841841
on_response.assert_not_called()
842842
bidi_rpc.recv.assert_called_once()

0 commit comments

Comments
 (0)