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

hgrecco / pint / 1480
91%

Build:
DEFAULT BRANCH: master
Ran 27 Dec 2019 11:32PM UTC
Jobs 6
Files 210
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
1480

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>

38145 of 42910 relevant lines covered (88.9%)

5.24 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1480.4 (PKGS="python=3.8") 27 Dec 2019 11:32PM UTC 0
74.78
Travis Job 1480.4
5 1480.5 (PKGS="python=3.6 uncertainties=3.0") 27 Dec 2019 11:33PM UTC 0
91.99
Travis Job 1480.5
6 1480.6 (PKGS="python=3.7 uncertainties=3.0") 27 Dec 2019 11:34PM UTC 0
91.99
Travis Job 1480.6
10 1480.10 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 27 Dec 2019 11:35PM UTC 0
88.64
Travis Job 1480.10
11 1480.11 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 27 Dec 2019 11:37PM UTC 0
88.6
Travis Job 1480.11
14 1480.14 (PKGS="python=3.8 numpy uncertainties") 27 Dec 2019 11:37PM UTC 0
92.16
Travis Job 1480.14
Source Files on build 1480
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1480
  • 9d391718 on github
  • Prev Build on master (#1475)
  • Next Build on master (#1482)
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