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

pywbem / nocasedict / 52 / 3
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: stable_2.2
DEFAULT BRANCH: master
Ran 22 Jul 2020 06:39AM UTC
Files 3
Run time 0s
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

22 Jul 2020 06:36AM UTC coverage: 94.675% (+1.0%) from 93.642%
PACKAGE_LEVEL=latest

push

travis-ci

andy-maier
Use dict on py>=3.7; Improved exceptions, and mapping vs iterable

Details:

* Starting with Python 3.7, the standard dict is guaranteed to be
  ordered on all Python implementations. Therefore, there is no
  reason to use OrderedDict anymore on py>=3.7, and the standard
  dict is faster. This change uses dict on py>=3.7 and otherwise
  OrderedDict for the implementation of NocaseDict.

* The issuing of message 'During handling of the above exception,
  another exception occurred' is now suppressed by setting
  exc.__cause__ = None. This works on both Python 2 and 3.

* Improved the detection of mapping vs iterable as the init
  argument by generalizing the type checking for mapping to
  be derived from (NocaseDict, Mapping, UserDict), and to expect
  an iterable otherwise, failing with TypeError when it cannot
  be iterated on.

* Exception messages have been cleaned up and improved, and in
  some cases re-raised with better message. No different
  exception types are raised.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>

160 of 169 relevant lines covered (94.67%)

0.95 hits per line

Source Files on job 52.3 (PACKAGE_LEVEL=latest)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 42
  • Travis Job 52.3
  • 60ad2bcb on github
  • Prev Job for PACKAGE_LEVEL=latest on andy/reduce-ordereddict (#46.3)
  • Next Job for PACKAGE_LEVEL=latest on andy/reduce-ordereddict (#54.3)
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