Fix the -x flag so that is does work.
authorThomas Heller <theller@ctypes.org>
Mon, 2 Jun 2008 20:07:46 +0000 (20:07 +0000)
committerThomas Heller <theller@ctypes.org>
Mon, 2 Jun 2008 20:07:46 +0000 (20:07 +0000)
Lib/ctypes/test/__init__.py

index e2878f23defd61b7c75cbc91e0cdafaa50506d49..70d647ba5e215f222249069c6ff85b2628c67564 100644 (file)
@@ -178,7 +178,7 @@ def main(*packages):
         elif flag == "-u":
             use_resources.extend(value.split(","))
         elif flag == "-x":
-            exclude.append(value.split(","))
+            exclude.extend(value.split(","))
 
     mask = "test_*.py"
     if args: