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

pywbem / nocaselist / test-331 / 3
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2023 06:00AM UTC
Files 3
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

01 Jun 2023 05:50AM UTC coverage: 99.401% (-0.6%) from 100.0%
test-331.3

push

github

andy-maier
Type hints; Slices in setitem/delitem; Type errors in rich comparisons

Details:

* Added Python type hints.

* Added support for passing slices to __setitem__() and __delitem__().
  Expanded the testcases accordingly.

* Fixed incorrect error handling when passing objects of unsupported types to
  the right hand operand of the rich comparison methods of NocaseList. This
  previously caused AttributeError "'list' object has no attribute 'lower'"
  and TypeError "'int' object is not iterable" to be raised which was confusing.
  This is now handled by returning 'NotImplemented' from these methods as
  recommended by Python, causing TypeError with a proper message to be raised
  by Python.
  Expanded the testcases accordingly.

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

166 of 167 relevant lines covered (99.4%)

0.99 hits per line

Source Files on job ubuntu-latest,3.7,minimum - test-331.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • f36d17ad on github
  • Prev Job for on master (#test-329.16)
  • Next Job for on master (#test-332.6)
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