Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions api/src/opentrons/protocol_api/instrument_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,11 +635,7 @@ def aspirate_with_delay(
delay_with_publish(aspirate_delay)

def dispense_with_delay(push_out: Optional[float]) -> None:
# protocol_api_old/test_context.py does not allow push_out at all, even if
# it's set to None, so we have to hide the argument to make the test pass.
# I don't know if the test is even valid, but I'm afraid to change the test.
dispense_kwargs = {"push_out": push_out} if push_out is not None else {}
self.dispense(volume, None, rate, **dispense_kwargs)
self.dispense(volume, None, rate, push_out=push_out)
if dispense_delay:
delay_with_publish(dispense_delay)

Expand Down
Loading