Fix test failure without ctypes (#2802)

This commit is contained in:
Antoine Pitrou 2017-07-21 13:24:05 +02:00 committed by GitHub
parent e72b1359f8
commit ff92ff5366

View file

@ -109,7 +109,7 @@ try:
from ctypes import Structure, c_int, c_double, c_longlong from ctypes import Structure, c_int, c_double, c_longlong
except ImportError: except ImportError:
Structure = object Structure = object
c_int = c_double = None c_int = c_double = c_longlong = None
def check_enough_semaphores(): def check_enough_semaphores():