Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhindes committed Dec 17, 2024
1 parent df50442 commit 8ebd5f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/component/system/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from nidaqmx.constants import PowerUpChannelType
from nidaqmx.error_codes import DAQmxErrors
from nidaqmx.types import AOPowerUpState
from nidaqmx.system import System


def test___get_analog_power_up_states_with_output_type___returns_power_up_states(system):
Expand Down Expand Up @@ -123,6 +124,6 @@ def test_invalid_power_up_states___set_analog_power_up_states___throws_invalid_a
assert exc_info.value.error_code == DAQmxErrors.INVALID_ATTRIBUTE_VALUE


def test___system___set_nonexistent_property___raises_exception(system: nidaqmx.system.System):
def test___system___set_nonexistent_property___raises_exception(system: System):
with pytest.raises(AttributeError):
system.nonexistent_property = "foo" # type: ignore[attr-defined]

0 comments on commit 8ebd5f8

Please sign in to comment.