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

hgrecco / pint / 1479
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 27 Dec 2019 11:25PM UTC
Jobs 7
Files 252
Run time 4min
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
1479

push

travis-ci

web-flow
Merge #959

959: Add tests and improve upcast type compatibility (part of #845) r=hgrecco a=jthielen

As a part of #845, this PR adds tests for upcast type compatibility with xarray (just tests of deferral/commutativity, for full integration tests, see @keewis's work in xarray's test suite). Along the way came a check for upcast types on Quantity creation (closing #479), changing to checking actual types rather than names (otherwise xarray's and uncertainties `Variable` conflict), exposing the upcast type collection, and adding the `@check_implemented` decorator to several arithmetic operations where it was missing.

Also, I hope that the xarray tests only being run on the latest available python and xarray versions is sufficient. If that should be changed, please let me know (if a more complete matrix is desired, it may be worth looking at reconfiguring the Travis configuration to use a [build matrix](https://docs.travis-ci.com/user/build-matrix/)).

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


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

46157 of 51436 relevant lines covered (89.74%)

6.14 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1479.4 (PKGS="python=3.8") 27 Dec 2019 11:26PM UTC 0
74.78
Travis Job 1479.4
5 1479.5 (PKGS="python=3.6 uncertainties=3.0") 27 Dec 2019 11:26PM UTC 0
91.99
Travis Job 1479.5
6 1479.6 (PKGS="python=3.7 uncertainties=3.0") 27 Dec 2019 11:27PM UTC 0
91.95
Travis Job 1479.6
9 1479.9 (PKGS="python=3.8 numpy=1.17 matplotlib") 27 Dec 2019 11:28PM UTC 0
90.25
Travis Job 1479.9
10 1479.10 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 27 Dec 2019 11:28PM UTC 0
88.64
Travis Job 1479.10
11 1479.11 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 27 Dec 2019 11:30PM UTC 0
88.64
Travis Job 1479.11
14 1479.14 (PKGS="python=3.8 numpy uncertainties") 27 Dec 2019 11:30PM UTC 0
92.16
Travis Job 1479.14
Source Files on build 1479
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1479
  • 9d391718 on github
  • Prev Build on staging (#1474)
  • Next Build on staging (#1481)
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