Commit e1f45dec authored by Stefan Behnel's avatar Stefan Behnel

use absolute import of pyximport in test runner for better portability

--HG--
extra : rebase_source : d380190f3a179cef413438f9491fe61666855118
parent a6b5c2bc
......@@ -1552,7 +1552,7 @@ def main():
test_runner = unittest.TextTestRunner(verbosity=options.verbosity)
if options.pyximport_py:
import pyximport
from pyximport import pyximport
pyximport.install(pyimport=True, build_dir=os.path.join(WORKDIR, '_pyximport'))
result = test_runner.run(test_suite)
......
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