Commit 1adef2c1 authored by Stefan Behnel's avatar Stefan Behnel

fix pyregr test language level at running CPython version

parent 08af9d8c
......@@ -1345,7 +1345,7 @@ def main():
options.annotate_source, options.cleanup_workdir,
options.cleanup_sharedlibs, True,
options.cython_only, languages, test_bugs,
options.fork, options.language_level)
options.fork, sys.version_info[0])
sys.stderr.write("Including CPython regression tests in %s\n" % sys_pyregr_dir)
test_suite.addTest(filetests.handle_directory(sys_pyregr_dir, 'pyregr'))
......
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