Skip to content

Commit

Permalink
tests: close coverage gap for race condition (#261)
Browse files Browse the repository at this point in the history
Closes #260
  • Loading branch information
tseaver committed Aug 31, 2021
1 parent 1db493c commit 82ca2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_bidi.py
Expand Up @@ -836,7 +836,7 @@ def test_consumer_unexpected_error(self, caplog):

# Wait for the consumer's thread to exit.
while consumer.is_active:
pass
pass # pragma: NO COVER (race condition)

on_response.assert_not_called()
bidi_rpc.recv.assert_called_once()
Expand Down

0 comments on commit 82ca2fd

Please sign in to comment.