Skip to content

Commit

Permalink
Update qcodes/tests/test_visa.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Astafev <[email protected]>
  • Loading branch information
jenshnielsen and astafan8 committed Sep 11, 2023
1 parent f336288 commit 3c44233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcodes/tests/test_visa.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def use_magnet():
use_magnet()
gc.collect()
# at this stage the instrument created in use_magnet has gone out of scope
# and we have triggered an explicit gc so the finalize method has been triggered/
# and we have triggered an explicit gc so the weakref.finalize function has been triggered
# We test this
# and the instrument should no longer be in the instrument registry
assert list(Instrument._all_instruments.keys()) == []
Expand Down

0 comments on commit 3c44233

Please sign in to comment.