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

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

Build:
DEFAULT BRANCH: master
Ran 23 Jul 2020 10:31PM UTC
Files 3
Run time 1s
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

23 Jul 2020 10:29PM UTC coverage: 96.988% (-0.05%) from 97.041%
PACKAGE_LEVEL=latest

push

travis-ci

andy-maier
Removed support for allow_unnamed_keys attribute

Details:

* The current NocaseDict class has an attribute 'allow_unnamed_keys'
  that controls whether it allows None as a key. By default, it does
  not allow None as a key. The standard Python dict always allows
  None as a key.

  This change removes the 'allow_unnamed_keys' attribute from
  NocaseDict and always allow None as a key.

* This rendered the 'self' parameter of _real_key() unused, so
  _real_key() was changed to become a module global function.

* Adjusted the testcases accordingly. This aligned 12 testcases
  between dict and NocaseDict, where conditional result expectations
  could be changed into common expectations.

* Fixed an error in the testcases where the UserWarning about
  unordered keyword arguments was expected for incorrect Python
  versions.

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

161 of 166 relevant lines covered (96.99%)

0.97 hits per line

Source Files on job 89.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 71
  • Travis Job 89.3
  • c2676a8c on github
  • Prev Job for PACKAGE_LEVEL=latest on master (#74.3)
  • Next Job for PACKAGE_LEVEL=latest on master (#98.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