We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52586d0 commit 49ed2e0Copy full SHA for 49ed2e0
tests/test_unit.py
@@ -11272,8 +11272,7 @@ def test_cli_invocation_with_module_flag(self):
11272
11273
11274
# force clear of packrat parsing flags before saving contexts
11275
-pp.ParserElement._packratEnabled = False
11276
-pp.ParserElement._parse = pp.ParserElement._parseNoCache # noqa
+pp.ParserElement.disable_memoization()
11277
11278
Test02_WithoutPackrat.suite_context = ppt.reset_pyparsing_context().save()
11279
Test02_WithoutPackrat.save_suite_context = ppt.reset_pyparsing_context().save()
0 commit comments