Skip to content

Commit

Permalink
make tests pass on my system; if this behavior turns out to be incons…
Browse files Browse the repository at this point in the history
…istent across versions/platforms, maybe the test should be disabled altogether. #27
  • Loading branch information
andreasvc committed Dec 20, 2022
1 parent 01c73c9 commit 017328a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_emptygroups.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ The following show different behavior for re and re2:
>>> re2.search(r'((.*)*.)', 'Hello').groups()
('Hello', 'Hell')

This one was formerly a None vs empty string difference until July 2021:

>>> re.search(r'((.*)*.)', 'a').groups()
('a', '')
>>> re2.search(r'((.*)*.)', 'a').groups()
('a', '')
('a', None)

>>> re2.set_fallback_notification(re2.FALLBACK_QUIETLY)

0 comments on commit 017328a

Please sign in to comment.