[Python-checkins] bpo-40334: Don't skip test_parser:test_trigget_memory_error (GH-19744)

Lysandros Nikolaou webhook-mailer at python.org
Mon Apr 27 20:24:55 EDT 2020


https://github.com/python/cpython/commit/3d53d8756f0403eec6a4e12f183103d651bed6c5
commit: 3d53d8756f0403eec6a4e12f183103d651bed6c5
branch: master
author: Lysandros Nikolaou <lisandrosnik at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-04-28T01:24:50+01:00
summary:

bpo-40334: Don't skip test_parser:test_trigget_memory_error (GH-19744)

This test has been changed to always use the old parser, so no need for it to be skipped.

files:
M Lib/test/test_parser.py

diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index 0ee994f3b7505..fd33d6529b144 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -900,7 +900,6 @@ def test_deeply_nested_list(self):
         st = parser.expr(e)
         st.compile()
 
-    @support.skip_if_new_parser("Pegen does not trigger memory error with this many parenthesis")
     def test_trigger_memory_error(self):
         e = self._nested_expression(100)
         rc, out, err = assert_python_failure('-Xoldparser', '-c', e)



More information about the Python-checkins mailing list