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

cdown / srt / 1719 / 5
100%
develop: 100%

Build:
DEFAULT BRANCH: develop
Ran 26 Jul 2021 02:12PM UTC
Files 1
Run time 36s
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

26 Jul 2021 02:01PM UTC coverage: 100.0%. Remained the same
TOXENV=doctest,black,pylint,pytype,bandit,coverage

push

travis-ci-com

cdown
parsing: Support parsing input with no milliseconds

Very slightly slower, but seems worth supporting:

After:

    In [1]: import srt

    In [2]: with open('/dev/shm/tsw.srt') as f:
    ...:     srt_data = f.read()
    ...:

    In [3]: len(srt_data)
    Out[3]: 289924

    In [4]: %timeit -n 1000 list(srt.parse(srt_data))
    19.2 ms ± 464 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)

Before:

    In [5]: %timeit -n 1000 list(srt.parse(srt_data))
    18.7 ms ± 436 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)

See https://github.com/smacke/ffsubsync/issues/123 for use case.

54 of 54 branches covered (100.0%)

134 of 134 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 1719.5 (TOXENV=doctest,black,pylint,pytype,bandit,coverage)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1641
  • Travis Job 1719.5
  • 8eb45f98 on github
  • Prev Job for TOXENV=doctest,black,pylint,pytype,bandit,coverage on develop (#1717.5)
  • Next Job for TOXENV=doctest,black,pylint,pytype,bandit,coverage on develop (#1721.5)
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