diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2018-09-16 15:50:56 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2018-09-16 15:50:56 +0200 |
commit | 5407899f49c927df82e5d0c92977d7634d39a94c (patch) | |
tree | 62ebf484fecefa78c04091f53914c99ee2add5a9 /tests/run | |
parent | c8e6f375dab5589ea2441775e193d650119dc9b2 (diff) | |
download | cython-5407899f49c927df82e5d0c92977d7634d39a94c.tar.gz |
Support a direct "language_level" argument in "cython.inline()", and fix a test by using it.
Diffstat (limited to 'tests/run')
-rw-r--r-- | tests/run/test_coroutines_pep492.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/test_coroutines_pep492.pyx b/tests/run/test_coroutines_pep492.pyx index 07c01a695..09a3853d5 100644 --- a/tests/run/test_coroutines_pep492.pyx +++ b/tests/run/test_coroutines_pep492.pyx @@ -76,7 +76,7 @@ def exec(code_string, l, g): old_stderr = sys.stderr try: sys.stderr = StringIO() - ns = inline(code_string, locals=l, globals=g, lib_dir=os.path.dirname(__file__)) + ns = inline(code_string, locals=l, globals=g, lib_dir=os.path.dirname(__file__), language_level=3) finally: sys.stderr = old_stderr g.update(ns) |