]> granicus.if.org Git - python/commitdiff
Issue #23911: Fix ctypes test on Windows.
authorZachary Ware <zachary.ware@gmail.com>
Wed, 13 May 2015 05:34:39 +0000 (00:34 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Wed, 13 May 2015 05:34:39 +0000 (00:34 -0500)
Comparing equality of list and tuple is always False.

Lib/ctypes/test/test_values.py

index 9a40b71cb3d935099e0371f78ccfd1e381edfdad..9551e7ae9f679024d2697a5ad71ea2b362396dc8 100644 (file)
@@ -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