diff options
author | 2020-05-25 21:07:21 -0700 | |
---|---|---|
committer | 2020-05-25 21:07:21 -0700 | |
commit | 19cc849d4c70bc3e792460ad712aa308fa500462 (patch) | |
tree | 0767a79338583da22210ff131cc78a522d1c5ba9 /tests/helpers.py | |
parent | Fix valid token regex test (diff) |
Fix multiple match text for token regex
It has to account for the addition of groups. It's easiest to compare
the entire string so `finditer` is used to return re.Match objects;
the tuples of `findall` would be cumbersome. Also threw in a change
to use `assertCountEqual` cause the order doesn't really matter.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions