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

hgrecco / pint / 1405
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 19 Dec 2019 01:26PM UTC
Jobs 13
Files 187
Run time 5min
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
1405

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>

33741 of 39327 relevant lines covered (85.8%)

10.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1405.1 (PKGS="python=3.7 flake8 black isort") 19 Dec 2019 01:26PM UTC 0
Travis Job 1405.1
2 1405.2 (PKGS="python=3.6") 19 Dec 2019 01:26PM UTC 0
76.12
Travis Job 1405.2
3 1405.3 (PKGS="python=3.7") 19 Dec 2019 01:26PM UTC 0
76.12
Travis Job 1405.3
4 1405.4 (PKGS="python=3.8") 19 Dec 2019 01:27PM UTC 0
76.5
Travis Job 1405.4
5 1405.5 (PKGS="python=3.6 uncertainties=3.0") 19 Dec 2019 01:27PM UTC 0
89.23
Travis Job 1405.5
6 1405.6 (PKGS="python=3.7 uncertainties=3.0") 19 Dec 2019 01:28PM UTC 0
89.15
Travis Job 1405.6
7 1405.7 (PKGS="python=3.6 numpy=1.14") 19 Dec 2019 01:29PM UTC 0
85.18
Travis Job 1405.7
9 1405.9 (PKGS="python=3.8 numpy=1.17") 19 Dec 2019 01:29PM UTC 0
87.5
Travis Job 1405.9
10 1405.10 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 19 Dec 2019 01:29PM UTC 0
87.14
Travis Job 1405.10
11 1405.11 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 19 Dec 2019 01:30PM UTC 0
87.14
Travis Job 1405.11
12 1405.12 (PKGS="python=3.6 numpy uncertainties") 19 Dec 2019 01:30PM UTC 0
89.15
Travis Job 1405.12
13 1405.13 (PKGS="python=3.7 numpy uncertainties") 19 Dec 2019 01:31PM UTC 0
89.23
Travis Job 1405.13
14 1405.14 (PKGS="python=3.8 numpy uncertainties") 19 Dec 2019 01:31PM UTC 0
89.41
Travis Job 1405.14
Source Files on build 1405
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1405
  • 23c44ee3 on github
  • Prev Build on staging (#1399)
  • Next Build on staging (#1412)
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