]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix test failure without ctypes (#2802)
authorAntoine Pitrou <pitrou@free.fr>
Fri, 21 Jul 2017 11:24:05 +0000 (13:24 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Jul 2017 11:24:05 +0000 (13:24 +0200)
Lib/test/_test_multiprocessing.py

index 9ef44a0e409b6bb24c4048d7d4a492ea33bf29e1..329a6d29acadf57a10b77844ff04448727b1433b 100644 (file)
@@ -109,7 +109,7 @@ try:
     from ctypes import Structure, c_int, c_double, c_longlong
 except ImportError:
     Structure = object
-    c_int = c_double = None
+    c_int = c_double = c_longlong = None
 
 
 def check_enough_semaphores():