Skip to content

Commit

Permalink
tests: Try to avoid another edge case in property test
Browse files Browse the repository at this point in the history
  • Loading branch information
cdown committed Jul 26, 2020
1 parent ce00fc7 commit ca937b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_srt.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ def test_parser_noncontiguous_leading(subs, garbage):
# Issue #56 permits negative indexes, see test_parsing_negative_index. It
# also shouldn't just be a number, because then we'd confuse it with our
# index...
assume(garbage != ".")
assume(garbage != "-")
assume(garbage.strip()[0] != ".")
assume(garbage.strip()[0] != "-")
assume(not _parseable_as_int(garbage))
assume(not _parseable_as_float(garbage))

Expand Down

0 comments on commit ca937b8

Please sign in to comment.