cpython/Lib/test/test_peg_generator
Pablo Galindo 270e249290
[3.9] Fix 'gather' rules in the python parser generator (GH-22021) (GH-22080)
Currently, empty sequences in gather rules make the conditional for
gather rules fail as empty sequences evaluate as "False". We need to
explicitly check for "None" (the failure condition) to avoid false
negatives.
(cherry picked from commit e55a0e9)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2020-09-03 16:35:36 +01:00
..
__init__.py
__main__.py
test_c_parser.py bpo-41112: Fix test_peg_generator on non-UTF-8 locales. (GH-21138) 2020-06-25 05:24:15 -07:00
test_first_sets.py
test_pegen.py [3.9] Fix 'gather' rules in the python parser generator (GH-22021) (GH-22080) 2020-09-03 16:35:36 +01:00