Skip to content

Commit 45a5929

Browse files
NoahStappJibola
andauthored
Update test/asynchronous/test_retryable_reads.py
Co-authored-by: Jib <Jibzade@gmail.com>
1 parent 816a4b8 commit 45a5929

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/asynchronous/test_retryable_reads.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ async def asyncSetUp(self) -> None:
156156

157157
# TODO: After PYTHON-4595 we can use async event handlers and remove this workaround.
158158
def configure_fail_point_sync(self, command_args, off=False) -> None:
159-
cmd = {"configureFailPoint": "failCommand"}
160-
cmd.update(command_args)
159+
cmd = {"configureFailPoint": "failCommand", **command_args}
161160
if off:
162161
cmd["mode"] = "off"
163162
cmd.pop("data", None)

0 commit comments

Comments
 (0)