Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97c2363

Browse files
committed
chore: fix coverage
1 parent 1a64fff commit 97c2363

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
@@ -813,7 +813,7 @@ def test_rpc_callback_fires_when_consumer_start_fails(self):
813813
bidi_rpc.add_done_callback(callback)
814814
bidi_rpc._start_rpc.side_effect = expected_exception
815815

816-
consumer = bidi.BackgroundConsumer(bidi_rpc, on_response=lambda: None)
816+
consumer = bidi.BackgroundConsumer(bidi_rpc, on_response=None)
817817
consumer.start()
818818
assert callback.call_args.args[0] == expected_exception
819819

0 commit comments

Comments
 (0)