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

hgrecco / pint / 1504
91%

Build:
DEFAULT BRANCH: master
Ran 30 Dec 2019 04:47PM 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
1504

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>

46298 of 51807 relevant lines covered (89.37%)

6.12 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1504.4 (PKGS="python=3.8") 30 Dec 2019 04:47PM UTC 0
74.48
Travis Job 1504.4
5 1504.5 (PKGS="python=3.6 uncertainties=3.0") 30 Dec 2019 04:47PM UTC 0
91.66
Travis Job 1504.5
6 1504.6 (PKGS="python=3.7 uncertainties=3.0") 30 Dec 2019 04:48PM UTC 0
91.66
Travis Job 1504.6
9 1504.9 (PKGS="python=3.8 numpy=1.17 matplotlib") 30 Dec 2019 04:50PM UTC 0
89.9
Travis Job 1504.9
10 1504.10 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 30 Dec 2019 04:49PM UTC 0
88.3
Travis Job 1504.10
11 1504.11 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 30 Dec 2019 04:51PM UTC 0
88.33
Travis Job 1504.11
14 1504.14 (PKGS="python=3.8 numpy uncertainties") 30 Dec 2019 04:51PM UTC 0
91.81
Travis Job 1504.14
Source Files on build 1504
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1504
  • 0d09f54a on github
  • Prev Build on master (#1501)
  • Next Build on master (#1508)
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