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

hgrecco / pint / 1405 / 13
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 19 Dec 2019 01:31PM UTC
Files 17
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

19 Dec 2019 01:24PM UTC coverage: 89.234% (+0.02%) from 89.219%
PKGS="python=3.7 numpy uncertainties"

push

travis-ci

web-flow
Merge #941

941: Fix infinite recursion with NumPy array/scalar raised to quantity power r=hgrecco a=jthielen

After running the current master branch against MetPy's test suite, I found that #905 introduced an infinite recursion error when the base of the exponent was a NumPy array or scalar by naively deferring to standard exponentiation. There were also issues when both the base and power were Quantities. This PR resolves those issues and adds basic tests for those cases.

- ~~Closes~~ (no associated issue)
- [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~~ (fixup to previous change: #905)


Co-authored-by: Jon Thielen <github@jont.cc>

3191 of 3576 relevant lines covered (89.23%)

0.89 hits per line

Source Files on job 1405.13 (PKGS="python=3.7 numpy uncertainties")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1297
  • Travis Job 1405.13
  • 23c44ee3 on github
  • Prev Job for PKGS="python=3.7 numpy uncertainties" on staging (#1399.13)
  • Next Job for PKGS="python=3.7 numpy uncertainties" on staging (#1412.13)
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