diff --git a/tests/component/system/test_device_properties.py b/tests/component/system/test_device_properties.py index 97c8d45cc..8f723ff17 100644 --- a/tests/component/system/test_device_properties.py +++ b/tests/component/system/test_device_properties.py @@ -1,11 +1,11 @@ -import pytest - from datetime import datetime from nidaqmx import DaqError from nidaqmx.constants import BusType, TriggerUsage from nidaqmx.error_codes import DAQmxErrors from nidaqmx.system import Device +import pytest + def test___constructed_device___get_property___returns_value(init_kwargs): device = Device("bridgeTester", **init_kwargs) @@ -159,11 +159,7 @@ def test___cal_recommended_acc_connection_count_limit___raises_attr_not_supporte assert exc_info.value.error_code == DAQmxErrors.ATTR_NOT_SUPPORTED -@pytest.fixture() -def get_cal_user_defined_info(real_x_series_device: Device): - user_defined_info = real_x_series_device.cal_user_defined_info - -def test___set_cal_user_defined_info___no_errors(real_x_series_device: Device) -> None: +def test___cal_user_defined_info___no_errors(real_x_series_device: Device) -> None: user_defined_info = real_x_series_device.cal_user_defined_info info_max_size = real_x_series_device.cal_user_defined_info_max_size