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

hgrecco / pint / 1842 / 7
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 08 Jul 2020 11:34PM UTC
Files 18
Run time 6s
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

08 Jul 2020 11:22PM UTC coverage: 87.95% (+0.1%) from 87.85%
PKGS="python=3.7 uncertainties=3.0"

push

travis-ci

web-flow
Merge #1123

1123: make __eq__ always return a duck array r=hgrecco a=keewis

When comparing quantities with different units / dimensionalities but containing duck arrays for equality, the returned value tends to change between boolean arrays and python boolean objects depending on the input. This makes it somewhat difficult to write code / tests against it and with this I'd propose to change that to always return arrays if we're using array magnitudes.

I'm not quite sure where `bool_result` should live, maybe `compat.py`?

- [x] Closes #351
- [x] Executed ``black -t py36 . && isort -rc . && flake8`` with no errors
- [x] The change is fully covered by automated unit tests
- [ ] Documented in docs/ as appropriate
- [ ] Added an entry to the CHANGES file


Co-authored-by: Keewis <keewis@posteo.de>

3591 of 4083 relevant lines covered (87.95%)

0.88 hits per line

Source Files on job 1842.7 (PKGS="python=3.7 uncertainties=3.0")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1709
  • Travis Job 1842.7
  • b5968877 on github
  • Prev Job for PKGS="python=3.7 uncertainties=3.0" on staging (#1840.7)
  • Next Job for PKGS="python=3.7 uncertainties=3.0" on staging (#1847.7)
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

© 2025 Coveralls, Inc