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

pywbem / nocaselist / 173 / 2
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2020 02:18PM 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

28 Jul 2020 02:16PM UTC coverage: 98.214% (+0.03%) from 98.182%
PACKAGE_LEVEL=latest

push

travis-ci

andy-maier
Fixed the incorrect behavior of the + and += operators

Details:

* The implementations of the '+' operator (__add__() merthod) and '+='
  operator (__iadd__() merthod) in NocaseList did behave different from
  the built-in list:

  - For '+', the built-in list treats the right hand operand as an
    iterable of items to be added and requires it to be a list, while
    NocaseList treated the right hand operand as a single item to add.
    (Verified on Python 2.7 and 3.8).

  - For '+=', the built-in list treats the right hand operand as an
    iterable of items to be added, but does not require it to be a list,
    while NocaseList treated the right hand operand as a single item to
    add (Verified on Python 2.7 and 3.8).

  This change fixes that so that these operators for NocaseList behave
  consistent with the built-in list, including the check for list.

  Adjusted the testcases accordingly.

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

110 of 112 relevant lines covered (98.21%)

0.98 hits per line

Source Files on job 173.2 (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 117
  • Travis Job 173.2
  • abd319c2 on github
  • Prev Job for PACKAGE_LEVEL=latest on master (#148.2)
  • Next Job for PACKAGE_LEVEL=latest on master (#176.2)
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