From 5a01959e162d36700572860566d33ec2e03455f7 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Wed, 15 May 2024 11:52:34 -0600 Subject: [PATCH] Fix Keysight test Signed-off-by: Travis F. Collins --- tests/test_keysight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_keysight.py b/tests/test_keysight.py index 7c12c04..049ea17 100644 --- a/tests/test_keysight.py +++ b/tests/test_keysight.py @@ -4,7 +4,7 @@ def test_e36233a_auto(): ps = keysight.E36233A() # Read all properties from all channels - for chan in ps.channels: + for chan in ps.channels(): print(f"Channel {chan.channel_number}:") print(f"Voltage: {chan.voltage}") print(f"Current: {chan.current}")