Commit e1820f35 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Move the ctypes import in the driver

The import is failing on sparky, and we only use it on Windows anyway,
so move it inside an "if windows".
parent 3671bf3a
......@@ -13,7 +13,6 @@ import getopt
import platform
import time
import re
import ctypes
from testutil import *
from testglobals import *
......@@ -109,6 +108,7 @@ if config.use_threads == 1:
# Try to use UTF8
if windows:
import ctypes
if cygwin:
# Is this actually right? Which calling convention does it use?
# As of the time of writing, ctypes.windll doesn't exist in the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment