Skip to content

Commit

Permalink
test: Update tests to try to eliminate false failures when running te…
Browse files Browse the repository at this point in the history
…sts on macOS. (tektronix#114)

Signed-off-by: qthompso <[email protected]>
  • Loading branch information
nfelt14 authored and qthompso committed Feb 15, 2024
1 parent c8c9d22 commit 98acd26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tests/test_afgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def test_afg3kc(device_manager: DeviceManager) -> None:
assert afg3kc.idn_string == "TEKTRONIX,AFG3252C,SERIAL1,SCPI:99.0 FV:3.2.3"
assert afg3kc.sw_version == Version("3.2.3")
assert afg3kc.all_channel_names_list == ("SOURCE1", "SOURCE2")
assert afg3kc.visa_backend == "PyVISA-sim"
assert afg3kc.source_device_constants == AFGSourceDeviceConstants(
memory_page_size=2,
memory_max_record_length=128 * 1024,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_smu.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_smu( # noqa: PLR0915
sw_version=<Version('3.3.5')>
total_channels=1
verbose=True
visa_backend='PyVISA-sim'
visa_backend='{smu.visa_backend}'
visa_resource=<'TCPIPInstrument'('TCPIP0::SMU2601B-HOSTNAME::inst0::INSTR')>
visa_timeout={UNIT_TEST_TIMEOUT}
{'=' * (97 + (1 if smu.device_number >= 10 else 0))}
Expand Down

0 comments on commit 98acd26

Please sign in to comment.