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

mtreinish / stestr / 1111
69%
master: 68%

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

Pull #265

travis-ci

web-flow
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
Pull Request #265: Only use stdlib based unittest runner for py >=3.5

472 of 837 branches covered (56.39%)

1 of 1 new or added line in 1 file covered. (100.0%)

1761 of 2567 relevant lines covered (68.6%)

0.69 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1111.4 (TOXENV=cover) 16 Aug 2019 02:48PM UTC 0
68.6
Travis Job 1111.4
Source Files on build 1111
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1111
  • Pull Request #265
  • PR Base - master (#1108)
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