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

schematics / schematics / 704 / 1
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: bugfix/typo_overridden
DEFAULT BRANCH: master
Ran 29 Mar 2017 09:48PM UTC
Files 23
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

29 Mar 2017 09:46PM UTC coverage: 90.913% (+0.1%) from 90.779%
704.1

push

travis-ci

lkraider
Enhancing and addressing some issues around exceptions: (#477)

* Enhancing and addressing some issues around exceptions:

issue #452: all exception types are now hashable and immutable
issue #445: a human readable and primitive only option is available (e.g. for json serialization)
issue #369: follows PEP-352 conventions, and normalizes all errors found in an .errors attribute

* string representations of error messages are equivalent to json formatting a primitive representation. This representation was chosen for legibility and simplicity. It's an implementation detail to serialize to json, and shouldn't be relied on. (serializing `to_primitive` exists for that purpose)

* errors dicts and lists are converted to FrozenDict and FrozenList. Although they might contain mutable data inside, we expect that indicating the base container as immutable users will understand not to mutate data inside (it's not clear what problems it would cause, the goal is simply to provide an immutable interface for the Schematics errors).

* exceptions instantiation now with a single parameter, that is the error object (string, list, dict or other).

* exceptions `repr` can be `eval`d.

2161 of 2377 relevant lines covered (90.91%)

0.91 hits per line

Source Files on job 704.1
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 704
  • Travis Job 704.1
  • 840f4f03 on github
  • Prev Job for on development (#686.1)
  • Next Job for on development (#705.1)
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