• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cdown / srt / 1023 / 4
100%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: cdown/2023-11-02/py27
DEFAULT BRANCH: develop
Ran 08 Dec 2019 01:45AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Dec 2019 01:40AM UTC coverage: 100.0%. Remained the same
TOXENV=black,pylint,pytype,bandit,coverage

push

travis-ci

cdown
test_srt: Fix rare flakiness in test_parser_noncontiguous_leading

During release testing, Hypothesis running in Travis
(https://travis-ci.org/cdown/srt/jobs/622124156) reported the following
failing case on OSX:

    @example(
        subs=[
            srt.Subtitle(
                index=0,
                start=timedelta(0),
                end=timedelta(21186, 33261),
                content="0",
                proprietary="",
            )
        ],
        garbage=" -",
    )

This rarely comes up since Hypothesis usually won't have time to
generate a failing example of this kind. The fix is to just check if the
last character is a dash, since if it's earlier, it will genuinely be
invalid since it can't be parsed as part of a digit, which is checked
for in the following check.

49 of 49 branches covered (100.0%)

124 of 124 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 1023.4 (TOXENV=black,pylint,pytype,bandit,coverage)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 988
  • Travis Job 1023.4
  • a9c910e1 on github
  • Prev Job for TOXENV=black,pylint,pytype,bandit,coverage on release/3.1.0 (#1022.4)
  • Next Job for TOXENV=black,pylint,pytype,bandit,coverage on release/3.1.0 (#1024.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc