diff options
author | Damien George <damien.p.george@gmail.com> | 2015-05-06 16:46:21 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-05-06 16:46:21 +0100 |
commit | 57ebe1b27d6ae10584d3b5f767e3cc5aa481c0b0 (patch) | |
tree | fc398ab877ad426c16be913069ff42a0078a7276 /tests/bytecode/pylib-tests | |
parent | 28076f3d4b3bf58aa86d6346af88665f7e5c6031 (diff) | |
download | micropython-57ebe1b27d6ae10584d3b5f767e3cc5aa481c0b0.tar.gz micropython-57ebe1b27d6ae10584d3b5f767e3cc5aa481c0b0.zip |
unix-cpy: Fix adjustment of stack size when leaving exception handler.
Also remove __debug__ from one of the bytecode tests.
Diffstat (limited to 'tests/bytecode/pylib-tests')
-rw-r--r-- | tests/bytecode/pylib-tests/compileall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bytecode/pylib-tests/compileall.py b/tests/bytecode/pylib-tests/compileall.py index d3cff6a98a..d92a322cf6 100644 --- a/tests/bytecode/pylib-tests/compileall.py +++ b/tests/bytecode/pylib-tests/compileall.py @@ -88,7 +88,7 @@ def compile_file(fullname, ddir=None, force=False, rx=None, quiet=False, return success if os.path.isfile(fullname): if legacy: - cfile = fullname + ('c' if __debug__ else 'o') + cfile = fullname + 'c' else: if optimize >= 0: cfile = imp.cache_from_source(fullname, |