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

mtreinish / stestr / 1110
69%
master: 68%

Build:
Build:
LAST BUILD BRANCH: gha-ci
DEFAULT BRANCH: master
Ran 16 Aug 2019 02:44PM UTC
Jobs 1
Files 33
Run time 2s
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
1110

push

travis-ci

mtreinish
Only use stdlib based unittest runner for py >=3.5

The stdlib python test runner introduced in #256 was written assuming a
python stdlib from python 3.5 or newer. Since we only officially support
running on python 3.5 or newer when we added the logic to switch between
the stdlib runner and the old testtools based runner we just said
python >=3.0.0. However, despite our official support status for python
>2.7,<3.5 there are still users out there running stestr on these python
versions. The new test runner will not work for those users because
unittest in stdlib changed in python 3.5 (as an aside this is the same
issue I've been hitting in my attempts to get unittest2 removed from
testtools). To address this problem a simple fix is to just change the
if statement to be a bit more explicit and only use the new runner for
python 3.5 or newer. This way stestr is more explicit about where the
newer runner actually works and this should hopefully unbreak any users
out there still using python 3.0 to 3.4.

Fixes #264

472 of 837 branches covered (56.39%)

1761 of 2567 relevant lines covered (68.6%)

0.69 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1110.4 (TOXENV=cover) 16 Aug 2019 02:44PM UTC 0
68.6
Travis Job 1110.4
Source Files on build 1110
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1110
  • 136027c0 on github
  • Next Build on only-use-stdlib-runner-py35 (#1114)
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