Skip to content

Commit 44200b3

Browse files
committed
Fix test
1 parent c895b1d commit 44200b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_sys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ def test_thread_info(self):
741741

742742
def test_abi_info(self):
743743
info = sys.abi_info
744-
self.assertEqual(len(info), 3)
744+
self.assertEqual(len(info.__dict__), 3)
745745
pointer_bits = 64 if sys.maxsize > 2**32 else 32
746746
self.assertEqual(info.pointer_bits, pointer_bits)
747747
for flag in ["Py_GIL_DISABLED", "Py_DEBUG"]:

0 commit comments

Comments
 (0)