[Python-checkins] cpython: Issue #23911: Fix ctypes test on Windows.

zach.ware python-checkins at python.org
Wed May 13 07:35:05 CEST 2015


https://hg.python.org/cpython/rev/cc2e52878393
changeset:   96003:cc2e52878393
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Wed May 13 00:34:39 2015 -0500
summary:
  Issue #23911: Fix ctypes test on Windows.

Comparing equality of list and tuple is always False.

files:
  Lib/ctypes/test/test_values.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py
--- a/Lib/ctypes/test/test_values.py
+++ b/Lib/ctypes/test/test_values.py
@@ -62,10 +62,10 @@
         # 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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list