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

hgrecco / pint / 1507
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 30 Dec 2019 11:39PM 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
1507

push

travis-ci

web-flow
Merge #965

965: Raise ValueError on ambiguous boolean conversion and add pending NumPy functions/ufuncs from issue tracker r=hgrecco a=jthielen

There were a few follow-up issues from #905 that were missing fairly simple implementations, so this PR takes care of them in preparation for the upcoming release.

Part of this was resolving #866 by raising a `ValueError` due to ambiguity when casting Quantities with offset units to boolean, which is technically a breaking change (although I would argue that the previous behavior was incorrect as discussed in #866).

Also, @keewis, this implements `np.any` and `np.all`, which are two of the functions you had mentioned were needed by xarray. I think now the only one still missing is `np.prod` (https://github.com/hgrecco/pint/issues/867) which will likely have to wait since there hasn't been a good solution yet.

- [x] Closes #419; Closes #470; Closes #807; Closes #866
- [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>

47784 of 51745 relevant lines covered (92.35%)

6.15 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1507.4 (PKGS="python=3.8") 30 Dec 2019 11:40PM UTC 0
74.3
Travis Job 1507.4
5 1507.5 (PKGS="python=3.6 uncertainties=3.0") 30 Dec 2019 11:39PM UTC 0
91.7
Travis Job 1507.5
6 1507.6 (PKGS="python=3.7 uncertainties=3.0") 30 Dec 2019 11:41PM UTC 0
91.66
Travis Job 1507.6
9 1507.9 (PKGS="python=3.8 numpy=1.17 matplotlib") 30 Dec 2019 11:42PM UTC 0
89.95
Travis Job 1507.9
10 1507.10 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 30 Dec 2019 11:42PM UTC 0
88.19
Travis Job 1507.10
11 1507.11 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 30 Dec 2019 11:43PM UTC 0
88.19
Travis Job 1507.11
14 1507.14 (PKGS="python=3.8 numpy uncertainties") 30 Dec 2019 11:44PM UTC 0
91.84
Travis Job 1507.14
Source Files on build 1507
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1507
  • c99573d1 on github
  • Prev Build on staging (#1503)
  • Next Build on staging (#1510)
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