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

hgrecco / pint / 1335
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 11 Dec 2019 12:26PM UTC
Jobs 11
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
1335

push

travis-ci

web-flow
Merge #905

905: NEP-18 Compatibility r=hgrecco a=jthielen

Building off of the implementation of `__array_function__` in #764, this PR adds compatibility with NEP-18 in Pint (mostly in the sense of Quantity having `__array_function__` and being wrappable as a duck array; for Quantity wrapping other duck arrays, see #845). Many tests are added of NumPy functions being used with Pint Quantities by way of `__array_function__`.

Accompanying changes that were needed as a part of this implementation include:
- a complete refactor of `__array_ufunc__` and ufunc attribute fallbacks to work in parallel with `__array_function__`
- promoting `_eq` in `quantity` to `eq` in `compat`
- preliminary handling of array-like compatibility by defining upcast types and attempting to wrap and defer to all others (a follow-up PR, or set of PRs, will be needed to completely address #845 / #878)

Closes #126 
Closes #396 
Closes #424
Closes #547 
Closes #553
Closes #617
Closes #619
Closes #682 
Closes #700
Closes #764
Closes #790
Closes #821

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

30945 of 35641 relevant lines covered (86.82%)

9.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1335.1 (PKGS="python=3.6") 11 Dec 2019 12:26PM UTC 0
76.24
Travis Job 1335.1
2 1335.2 (PKGS="python=3.7") 11 Dec 2019 12:26PM UTC 0
76.33
Travis Job 1335.2
3 1335.3 (PKGS="python=3.8") 11 Dec 2019 12:26PM UTC 0
76.71
Travis Job 1335.3
4 1335.4 (PKGS="python=3.6 uncertainties=3.0") 11 Dec 2019 12:27PM UTC 0
89.26
Travis Job 1335.4
5 1335.5 (PKGS="python=3.7 uncertainties=3.0") 11 Dec 2019 12:26PM UTC 0
89.26
Travis Job 1335.5
6 1335.6 (PKGS="python=3.6 numpy=1.14") 11 Dec 2019 12:28PM UTC 0
85.39
Travis Job 1335.6
9 1335.9 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 11 Dec 2019 12:28PM UTC 0
87.15
Travis Job 1335.9
10 1335.10 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 11 Dec 2019 12:29PM UTC 0
87.15
Travis Job 1335.10
11 1335.11 (PKGS="python=3.6 numpy uncertainties") 11 Dec 2019 12:30PM UTC 0
89.26
Travis Job 1335.11
12 1335.12 (PKGS="python=3.7 numpy uncertainties") 11 Dec 2019 12:30PM UTC 0
89.26
Travis Job 1335.12
13 1335.13 (PKGS="python=3.8 numpy uncertainties") 11 Dec 2019 12:31PM UTC 0
89.44
Travis Job 1335.13
Source Files on build 1335
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1335
  • 43fbae24 on github
  • Prev Build on staging (#1330)
  • Next Build on staging (#1339)
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