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

nose-devs / nose2 / 626
88%

Build:
DEFAULT BRANCH: master
Ran 07 May 2018 05:02PM UTC
Jobs 8
Files 47
Run time 5min
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
626

Pull #394

travis-ci

web-flow
Fix --pretty-assert handling of multiline exprs

When an expression spans multiple lines, `--pretty-assert` could be
grabbing it in the middle of a line, thus giving it an unparseable
expression which fails tokenization.
To fix, keep adding lines until it tokenizes successfully. If it fails
at the end, mark it as such and change behavior appropriately. That
should never happen and I cannot find a case in which it does.

Also handle newlines correctly by skipping but doing nothing.

Add a test case which covers both attribute resolutions and multiline
asserts which require this re-parsing behavior to be handled correctly.
Pull Request #394: Add "prettyassert" plugin that gives bare asserts better support

1037 of 1278 branches covered (81.14%)

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

3363 of 3839 relevant lines covered (87.6%)

6.95 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
100.0
nose2/plugins/prettyassert.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
nose2/plugins/prof.py
1
100.0
nose2/plugins/doctests.py
2
100.0
nose2/plugins/layers.py
2
100.0
nose2/plugins/junitxml.py
7
100.0
nose2/plugins/buffer.py
15
100.0
nose2/util.py
Jobs
ID Job ID Ran Files Coverage
1 626.1 07 May 2018 05:05PM UTC 0
86.98
Travis Job 626.1
2 626.2 07 May 2018 05:07PM UTC 0
86.53
Travis Job 626.2
3 626.3 07 May 2018 05:02PM UTC 0
87.34
Travis Job 626.3
4 626.4 07 May 2018 05:02PM UTC 0
86.87
Travis Job 626.4
5 626.5 07 May 2018 05:02PM UTC 0
86.87
Travis Job 626.5
6 626.6 07 May 2018 05:05PM UTC 0
86.92
Travis Job 626.6
7 626.7 07 May 2018 05:07PM UTC 0
86.92
Travis Job 626.7
8 626.8 07 May 2018 05:06PM UTC 0
86.92
Travis Job 626.8
Source Files on build 626
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #626
  • Pull Request #394
  • PR Base - master (#623)
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