Commit ce92e28c authored by Stefan Behnel's avatar Stefan Behnel

fix test runner in Py<2.5

parent 02ae18e8
#!/usr/bin/python
import os, sys, re, shutil, unittest, doctest, ctypes
import os, sys, re, shutil, unittest, doctest
WITH_CYTHON = True
......@@ -534,6 +534,7 @@ if __name__ == '__main__':
Errors.LEVEL = 0 # show all warnings
if options.with_refnanny:
import ctypes
ctypes.PyDLL("Cython/Runtime/refnanny.so", mode=ctypes.RTLD_GLOBAL)
sys.path.append("Cython/Runtime")
import refnanny
......
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