From 3c442336f73577569eed320df91d8d74a9c43fe1 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Mon, 4 Sep 2023 10:14:49 +0200 Subject: [PATCH] Update qcodes/tests/test_visa.py Co-authored-by: Mikhail Astafev --- qcodes/tests/test_visa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcodes/tests/test_visa.py b/qcodes/tests/test_visa.py index 9384cfa88032..4b5f74d39b01 100644 --- a/qcodes/tests/test_visa.py +++ b/qcodes/tests/test_visa.py @@ -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()) == []