commit | 58100644763c172253925c1883ae43a69cfebae9 | [log] [tgz] |
---|---|---|
author | Fredrik Lundh <fredrik@pythonware.com> | Wed Aug 09 09:14:35 2000 +0000 |
committer | Fredrik Lundh <fredrik@pythonware.com> | Wed Aug 09 09:14:35 2000 +0000 |
tree | fc5834080a03107c5cb6be80a030ea6541f0d9f3 | |
parent | 8e6d571a7c7853a98e032859e79a624528ec8842 [diff] [blame] |
-- changed findall to return empty strings instead of None for undefined groups
diff --git a/Lib/test/test_sre.py b/Lib/test/test_sre.py index 2f16d29..29fafda 100644 --- a/Lib/test/test_sre.py +++ b/Lib/test/test_sre.py
@@ -177,6 +177,7 @@ assert sre.findall("(:)(:*)", "a:b::c:::d") == [(":", ""), (":", ":"), (":", "::")] + assert sre.findall("(a)|(b)", "abc") == [("a", ""), ("", "b")] except AssertionError: raise TestFailed, "sre.findall"