Skip to content

Commit

Permalink
Remove test of outdated feature
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Jun 2, 2022
1 parent f0acb98 commit fe9fa8e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions qcodes/tests/test_visa.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,17 +165,6 @@ def open_resource(self, address):
assert address_opened[0] == 'ASRL2'
inst2.close()

# this one raises a warning
with pytest.warns(UserWarning, match="use the visalib"):
inst3 = MockBackendVisaInstrument('name3', address='ASRL3@py')
request.addfinalizer(inst3.close)

assert rm_mock.call_count == 3
assert rm_mock.call_args == (('@py',),)
assert address_opened[0] == 'ASRL3'
inst3.close()

# this one doesn't
inst4 = MockBackendVisaInstrument('name4',
address='ASRL4', visalib='@py')
request.addfinalizer(inst4.close)
Expand Down

0 comments on commit fe9fa8e

Please sign in to comment.