Skip to content

Commit

Permalink
fixup linter and hardware test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura-Danielle committed Jul 20, 2023
1 parent 2b19e8e commit 7919afd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions api/tests/opentrons/test_execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from opentrons import execute, types
from opentrons.protocols.api_support.types import APIVersion
from opentrons.hardware_control import Controller, api
from opentrons.protocols.execution.errors import ExceptionInProtocolError

if TYPE_CHECKING:
from tests.opentrons.conftest import Bundle, Protocol
Expand Down Expand Up @@ -82,7 +81,6 @@ def test_execute_function_apiv2(
mock_get_attached_instr: mock.AsyncMock,
) -> None:
"""Test `execute()` with a Python file."""

converted_model_v15 = pipette_load_name.convert_pipette_model(
cast(PipetteModel, "p10_single_v1.5")
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,8 @@ def _ul_per_mm_of_shaft_diameter(diameter: float) -> float:
pip_nominal_ul_per_mm,
),
]
pip._active_tip_settings.aspirate["default"] = ul_per_mm # type: ignore[assignment]
pip._active_tip_settings.dispense["default"] = ul_per_mm # type: ignore[assignment]
pip._active_tip_settings.aspirate.default["1"] = ul_per_mm # type: ignore[assignment]
pip._active_tip_settings.dispense.default["1"] = ul_per_mm # type: ignore[assignment]
pip.ul_per_mm.cache_clear()
assert pip.ul_per_mm(1, "aspirate") == pip_nominal_ul_per_mm
assert pip.ul_per_mm(pip.working_volume, "aspirate") == pip_nominal_ul_per_mm
Expand Down

0 comments on commit 7919afd

Please sign in to comment.