From: Stefan Behnel Date: Thu, 21 Apr 2011 04:56:22 +0000 (+0200) Subject: fix pyregr test language level at running CPython version X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3972ce8aecb39b5245d778baf9eef677a9fb682;p=cython.git fix pyregr test language level at running CPython version --- diff --git a/runtests.py b/runtests.py index 759df1e5..085b6c65 100644 --- a/runtests.py +++ b/runtests.py @@ -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'))