[pypy-commit] pypy py3.5-refactor-sys_exc_info: fix test

arigo pypy.commits at gmail.com
Thu Nov 17 09:36:01 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5-refactor-sys_exc_info
Changeset: r88440:aed287295356
Date: 2016-11-17 14:45 +0000
http://bitbucket.org/pypy/pypy/changeset/aed287295356/

Log:	fix test

diff --git a/pypy/interpreter/astcompiler/test/test_compiler.py b/pypy/interpreter/astcompiler/test/test_compiler.py
--- a/pypy/interpreter/astcompiler/test/test_compiler.py
+++ b/pypy/interpreter/astcompiler/test/test_compiler.py
@@ -869,7 +869,7 @@
         with a: pass
         """
         code = compile_with_astcompiler(source, 'exec', self.space)
-        assert code.co_stacksize == 6  # i.e. <= 7, there is no systematic leak
+        assert code.co_stacksize == 5  # i.e. <= 7, there is no systematic leak
 
     def test_stackeffect_bug5(self):
         source = """if 1:


More information about the pypy-commit mailing list