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

cdown / srt / 1023
100%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: cdown/2023-11-02/py27
DEFAULT BRANCH: develop
Ran 08 Dec 2019 01:45AM CUT
Jobs 1
Files 1
Run time 1s
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

pending completion
1023

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

Jobs
ID Job ID Ran Files Coverage
4 1023.4 (TOXENV=black,pylint,pytype,bandit,coverage) 08 Dec 2019 01:45AM CUT 0
100.0
Travis Job 1023.4
Source Files on build 1023
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next
  • Back to Repo
  • Travis Build #1023
  • a9c910e1 on github
  • Prev Build on release/3.1.0 (#1022)
  • Next Build on release/3.1.0 (#1024)
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

© 2025 Coveralls, Inc