From 84d3e764d717a5c31af1a282463425a24f83f1de Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Wed, 13 May 2015 00:34:39 -0500 Subject: Issue #23911: Fix ctypes test on Windows. Comparing equality of list and tuple is always False. --- Lib/ctypes/test/test_values.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py index 9a40b71..9551e7a 100644 --- a/Lib/ctypes/test/test_values.py +++ b/Lib/ctypes/test/test_values.py @@ -62,10 +62,10 @@ class Win_ValuesTestCase(unittest.TestCase): # found, but don't worry about its size too much. The same # applies to _frozen_importlib_external. bootstrap_seen = [] - bootstrap_expected = ( + bootstrap_expected = [ b'_frozen_importlib', b'_frozen_importlib_external', - ) + ] for entry in ft: # This is dangerous. We *can* iterate over a pointer, but # the loop will not terminate (maybe with an access -- cgit v0.12