Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84d3e76

Browse files
committed
Issue #23911: Fix ctypes test on Windows.
Comparing equality of list and tuple is always False.
1 parent d9b25bb commit 84d3e76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/ctypes/test/test_values.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ class struct_frozen(Structure):
6262
# found, but don't worry about its size too much. The same
6363
# applies to _frozen_importlib_external.
6464
bootstrap_seen = []
65-
bootstrap_expected = (
65+
bootstrap_expected = [
6666
b'_frozen_importlib',
6767
b'_frozen_importlib_external',
68-
)
68+
]
6969
for entry in ft:
7070
# This is dangerous. We *can* iterate over a pointer, but
7171
# the loop will not terminate (maybe with an access

0 commit comments

Comments
 (0)