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

pywbem / nocaselist / test-331
96%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2023 05:50AM UTC
Jobs 11
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

pending completion
test-331

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>

82 of 82 new or added lines in 2 files covered. (100.0%)

167 of 167 relevant lines covered (100.0%)

10.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-20.04,3.6,latest - test-331.1 01 Jun 2023 06:00AM UTC 0
99.4
GitHub Action Run
2 ubuntu-latest,3.10,latest - test-331.2 01 Jun 2023 06:00AM UTC 0
97.01
GitHub Action Run
3 ubuntu-latest,3.7,minimum - test-331.3 01 Jun 2023 06:00AM UTC 0
99.4
GitHub Action Run
4 macos-latest,3.6,latest - test-331.4 01 Jun 2023 06:00AM UTC 0
99.4
GitHub Action Run
5 ubuntu-latest,3.11,minimum - test-331.5 01 Jun 2023 06:00AM UTC 0
97.01
GitHub Action Run
6 ubuntu-latest,3.11,latest - test-331.6 01 Jun 2023 06:00AM UTC 0
97.01
GitHub Action Run
7 windows-latest,3.11,latest - test-331.7 01 Jun 2023 06:00AM UTC 0
97.01
GitHub Action Run
8 macos-latest,3.11,latest - test-331.8 01 Jun 2023 06:00AM UTC 0
97.01
GitHub Action Run
9 ubuntu-20.04,3.6,minimum - test-331.9 01 Jun 2023 06:00AM UTC 0
99.4
GitHub Action Run
10 ubuntu-latest,3.7,latest - test-331.10 01 Jun 2023 06:00AM UTC 0
99.4
GitHub Action Run
11 windows-latest,3.6,latest - test-331.11 01 Jun 2023 06:00AM UTC 0
99.4
GitHub Action Run
Source Files on build test-331
Detailed source file information is not available for this build.
  • Back to Repo
  • f36d17ad on github
  • Prev Build on master (#TEST-329)
  • Next Build on master (#TEST-332)
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