From: Zachary Ware Date: Wed, 13 May 2015 05:34:39 +0000 (-0500) Subject: Issue #23911: Fix ctypes test on Windows. X-Git-Tag: v3.5.0b1~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84d3e764d717a5c31af1a282463425a24f83f1de;p=python Issue #23911: Fix ctypes test on Windows. Comparing equality of list and tuple is always False. --- diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py index 9a40b71cb3..9551e7ae9f 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