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

schematics / schematics / 704
91%
master: 91%

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

pending completion
704

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.

117 of 117 new or added lines in 6 files covered. (100.0%)

2161 of 2377 relevant lines covered (90.91%)

0.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
schematics/datastructures.py
3
100.0
schematics/exceptions.py
Jobs
ID Job ID Ran Files Coverage
1 704.1 29 Mar 2017 09:48PM UTC 0
90.91
Travis Job 704.1
Source Files on build 704
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #704
  • 840f4f03 on github
  • Prev Build on development (#686)
  • Next Build on development (#705)
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