From 57ebe1b27d6ae10584d3b5f767e3cc5aa481c0b0 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 6 May 2015 16:46:21 +0100 Subject: unix-cpy: Fix adjustment of stack size when leaving exception handler. Also remove __debug__ from one of the bytecode tests. --- tests/bytecode/pylib-tests/compileall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/bytecode') diff --git a/tests/bytecode/pylib-tests/compileall.py b/tests/bytecode/pylib-tests/compileall.py index d3cff6a98..d92a322cf 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, -- cgit v1.2.3