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

hgrecco / pint / 1503
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 30 Dec 2019 04:40PM UTC
Jobs 7
Files 258
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
1503

push

travis-ci

web-flow
Merge #963

963: Add tests and documentation with improvement of downcast type compatibility (part of #845) r=hgrecco a=jthielen

As a part of #845, this PR adds tests for downcast type compatibility with Sparse's `COO` and NumPy's `MaskedArray`, along with more careful handling of downcast types throughout the library. Also included is new documentation on array type compatibility, including the type casting hierarchy digraph by @shoyer and @crusaderky.

While this PR doesn't fully bring Pint's downcast type compatibility to a completed state, I think this gets it "good enough" for the upcoming release, and the remaining issues are fairly well defined:

- MaskedArray non-commutativity (https://github.com/hgrecco/pint/issues/633 / https://github.com/numpy/numpy/issues/15200)
- Dask compatibility (https://github.com/hgrecco/pint/issues/883)
- Addition of CuPy tests (no issue on issue tracker yet)

Because of that, I think this can close #845, but if @hgrecco you want that kept open until the above items are resolved, let me know.

- [x] Closes #37; Closes #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>

46296 of 51805 relevant lines covered (89.37%)

6.12 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1503.4 (PKGS="python=3.8") 30 Dec 2019 04:40PM UTC 0
74.48
Travis Job 1503.4
5 1503.5 (PKGS="python=3.6 uncertainties=3.0") 30 Dec 2019 04:40PM UTC 0
91.66
Travis Job 1503.5
6 1503.6 (PKGS="python=3.7 uncertainties=3.0") 30 Dec 2019 04:41PM UTC 0
91.66
Travis Job 1503.6
9 1503.9 (PKGS="python=3.8 numpy=1.17 matplotlib") 30 Dec 2019 04:43PM UTC 0
89.9
Travis Job 1503.9
10 1503.10 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 30 Dec 2019 04:42PM UTC 0
88.3
Travis Job 1503.10
11 1503.11 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 30 Dec 2019 04:44PM UTC 0
88.33
Travis Job 1503.11
14 1503.14 (PKGS="python=3.8 numpy uncertainties") 30 Dec 2019 04:44PM UTC 0
91.77
Travis Job 1503.14
Source Files on build 1503
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1503
  • 0d09f54a on github
  • Prev Build on staging (#1500)
  • Next Build on staging (#1507)
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