Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a64fff commit 97c2363Copy full SHA for 97c2363
tests/unit/test_bidi.py
@@ -813,7 +813,7 @@ def test_rpc_callback_fires_when_consumer_start_fails(self):
813
bidi_rpc.add_done_callback(callback)
814
bidi_rpc._start_rpc.side_effect = expected_exception
815
816
- consumer = bidi.BackgroundConsumer(bidi_rpc, on_response=lambda: None)
+ consumer = bidi.BackgroundConsumer(bidi_rpc, on_response=None)
817
consumer.start()
818
assert callback.call_args.args[0] == expected_exception
819
0 commit comments