Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r86679:549d60af4953
Date: 2016-08-29 11:55 +0200
http://bitbucket.org/pypy/pypy/changeset/549d60af4953/

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
@@ -864,9 +864,10 @@
         with a: pass
         with a: pass
         with a: pass
+        with a: pass
         """
         code = compile_with_astcompiler(source, 'exec', self.space)
-        assert code.co_stacksize == 5
+        assert code.co_stacksize == 6  # i.e. <= 7, there is no systematic leak
 
     def test_stackeffect_bug5(self):
         source = """if 1:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to