Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Strip before garbage check in test_parser_noncontiguous_leading
Hypothesis brought up the following example: @example(subs=[srt.Subtitle(index=0, start=timedelta(0), end=timedelta(days=21186, seconds=33261), content='0', proprietary='')], garbage='\x1f0', ) This is a bit confusing, the real characters are "\x1f" and "0". Since we will strip inside due to using \s* in the regex, this just appears as "0" to the parser.
- Loading branch information