From f3972ce8aecb39b5245d778baf9eef677a9fb682 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 21 Apr 2011 06:56:22 +0200 Subject: [PATCH] fix pyregr test language level at running CPython version --- runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) -- 2.26.2