Skip to content

Commit

Permalink
Fix coverage false positive in test by ignoring it.
Browse files Browse the repository at this point in the history
  • Loading branch information
pradn committed Feb 25, 2022
1 parent d879e7e commit 2453ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/pubsub_v1/subscriber/test_subscriber_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def test_context_manager_raises_if_closed(creds):
expetect_msg = r"(?i).*closed.*cannot.*context manager.*"
with pytest.raises(RuntimeError, match=expetect_msg):
with client:
pass
pass # pragma: NO COVER


def test_api_property_deprecated(creds):
Expand Down

0 comments on commit 2453ef4

Please sign in to comment.