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

hgrecco / pint / 1406
91%

Build:
DEFAULT BRANCH: master
Ran 19 Dec 2019 01:33PM UTC
Jobs 12
Files 170
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
1406

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>

31021 of 35753 relevant lines covered (86.76%)

9.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1406.1 (PKGS="python=3.7 flake8 black isort") 19 Dec 2019 01:33PM UTC 0
Travis Job 1406.1
2 1406.2 (PKGS="python=3.6") 19 Dec 2019 01:33PM UTC 0
76.12
Travis Job 1406.2
3 1406.3 (PKGS="python=3.7") 19 Dec 2019 01:33PM UTC 0
76.12
Travis Job 1406.3
4 1406.4 (PKGS="python=3.8") 19 Dec 2019 01:34PM UTC 0
76.5
Travis Job 1406.4
5 1406.5 (PKGS="python=3.6 uncertainties=3.0") 19 Dec 2019 01:33PM UTC 0
89.23
Travis Job 1406.5
6 1406.6 (PKGS="python=3.7 uncertainties=3.0") 19 Dec 2019 01:35PM UTC 0
89.23
Travis Job 1406.6
7 1406.7 (PKGS="python=3.6 numpy=1.14") 19 Dec 2019 01:35PM UTC 0
85.18
Travis Job 1406.7
8 1406.8 (PKGS="python=3.7 numpy=1.14") 19 Dec 2019 01:35PM UTC 0
85.1
Travis Job 1406.8
9 1406.9 (PKGS="python=3.8 numpy=1.17") 19 Dec 2019 01:36PM UTC 0
87.5
Travis Job 1406.9
10 1406.10 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 19 Dec 2019 01:36PM UTC 0
87.14
Travis Job 1406.10
11 1406.11 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 19 Dec 2019 01:37PM UTC 0
87.14
Travis Job 1406.11
14 1406.14 (PKGS="python=3.8 numpy uncertainties") 19 Dec 2019 01:38PM UTC 0
89.41
Travis Job 1406.14
Source Files on build 1406
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1406
  • 23c44ee3 on github
  • Prev Build on master (#1400)
  • Next Build on master (#1413)
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