aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2021-08-31 13:16:20 -0400
committerGitHub <noreply@github.com>2021-08-31 13:16:20 -0400
commit82ca2fd3792e20bea20ba96273fde4f2bb07b497 (patch)
tree7bbbb3863cc90f1085114cee4336a74edd34bd1d
parent1db493cafff62e3a9f0b2d8ddf3071199db1af7e (diff)
downloadpython-api-core-82ca2fd3792e20bea20ba96273fde4f2bb07b497.tar.gz
tests: close coverage gap for race condition (#261)
Closes #260
-rw-r--r--tests/unit/test_bidi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_bidi.py b/tests/unit/test_bidi.py
index b876d9a..15994ee 100644
--- a/tests/unit/test_bidi.py
+++ b/tests/unit/test_bidi.py
@@ -836,7 +836,7 @@ class TestBackgroundConsumer(object):
# 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()