3 tests_dir
= os
.path
.dirname(os
.path
.abspath(__file__
))
4 compile_dir
= os
.path
.dirname(tests_dir
)
5 sys
.path
.insert(0, compile_dir
)
6 cwd
= os
.path
.realpath(os
.getcwd())
9 coverage
.the_coverage
.parallel_mode
= True
14 compile_code
= os
.path
.join(compile_dir
, '0compile')
23 print >>sys
.stderr
, "urlopen called with arguments %s" % (args
,)
26 imp
.load_module('__main__', file(compile_code
), compile_code
,
27 ('.py', 'r', imp
.PY_SOURCE
))