summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/pylib-tests
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-05-06 16:46:21 +0100
committerDamien George <damien.p.george@gmail.com>2015-05-06 16:46:21 +0100
commit57ebe1b27d6ae10584d3b5f767e3cc5aa481c0b0 (patch)
treefc398ab877ad426c16be913069ff42a0078a7276 /tests/bytecode/pylib-tests
parent28076f3d4b3bf58aa86d6346af88665f7e5c6031 (diff)
downloadmicropython-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.py2
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,