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

pytest-dev / pytest / 2980
94%
master: 51%

Build:
Build:
LAST BUILD BRANCH: future/pathlib
DEFAULT BRANCH: master
Ran 29 Jul 2017 09:49AM UTC
Jobs 1
Files 44
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
2980

Pull #2632

travis-ci

web-flow
Support PEP-415's Exception.__suppress_context__

PEP-415 states that `exception.__context__` should be suppressed
in traceback outputs, if `exception.__suppress_context__` is
`True`.

Now if a ``raise exception from None`` is caught by pytest,
pytest will no longer chain the context in the test report.

The algorithm in `FormattedExcinfo` now better matches the one
in `traceback.TracebackException`.

`Exception.__suppress_context__` is available in all of the
versions of Python 3 that are supported by pytest.

Fixes #2631.
Pull Request #2632: Support PEP-415's Exception.__suppress_context__

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

8585 of 9343 relevant lines covered (91.89%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2980.1 (TOXENV=coveralls) 29 Jul 2017 09:49AM UTC 0
91.89
Travis Job 2980.1
Source Files on build 2980
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2980
  • Pull Request #2632
  • PR Base - features (#2974)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc