Issue #23911: Fix ctypes test on Windows.
Comparing equality of list and tuple is always False.
This commit is contained in:
parent
d9b25bb511
commit
84d3e764d7
@ -62,10 +62,10 @@ class Win_ValuesTestCase(unittest.TestCase):
|
|||||||
# found, but don't worry about its size too much. The same
|
# found, but don't worry about its size too much. The same
|
||||||
# applies to _frozen_importlib_external.
|
# applies to _frozen_importlib_external.
|
||||||
bootstrap_seen = []
|
bootstrap_seen = []
|
||||||
bootstrap_expected = (
|
bootstrap_expected = [
|
||||||
b'_frozen_importlib',
|
b'_frozen_importlib',
|
||||||
b'_frozen_importlib_external',
|
b'_frozen_importlib_external',
|
||||||
)
|
]
|
||||||
for entry in ft:
|
for entry in ft:
|
||||||
# This is dangerous. We *can* iterate over a pointer, but
|
# This is dangerous. We *can* iterate over a pointer, but
|
||||||
# the loop will not terminate (maybe with an access
|
# the loop will not terminate (maybe with an access
|
||||||
|
Loading…
x
Reference in New Issue
Block a user