The 4th group is now 'invalid' instead of 'bogus'.

This commit is contained in:
Barry Warsaw 2004-09-13 20:53:27 +00:00
parent b5c6b5bfe8
commit 3e773fb622

View File

@ -103,7 +103,7 @@ class TestTemplate(unittest.TestCase):
(?P<escaped>@{2}) | (?P<escaped>@{2}) |
@(?P<named>[_a-z][._a-z0-9]*) | @(?P<named>[_a-z][._a-z0-9]*) |
@{(?P<braced>[_a-z][._a-z0-9]*)} | @{(?P<braced>[_a-z][._a-z0-9]*)} |
(?P<bogus>@) (?P<invalid>@)
""" """
m = Mapping() m = Mapping()
m.bag = Bag() m.bag = Bag()