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

pywbem / nocasedict / 89
97%

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

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

Jobs
ID Job ID Ran Files Coverage
3 89.3 (PACKAGE_LEVEL=latest) 23 Jul 2020 10:31PM UTC 0
96.99
Travis Job 89.3
Source Files on build 89
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #89
  • c2676a8c on github
  • Prev Build on master (#74)
  • Next Build on master (#98)
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