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

hgrecco / pint / 1842
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 08 Jul 2020 11:31PM UTC
Jobs 16
Files 18
Run time 8min
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
1842

push

travis-ci

web-flow
Merge #1123

1123: make __eq__ always return a duck array r=hgrecco a=keewis

When comparing quantities with different units / dimensionalities but containing duck arrays for equality, the returned value tends to change between boolean arrays and python boolean objects depending on the input. This makes it somewhat difficult to write code / tests against it and with this I'd propose to change that to always return arrays if we're using array magnitudes.

I'm not quite sure where `bool_result` should live, maybe `compat.py`?

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


Co-authored-by: Keewis <keewis@posteo.de>

13 of 13 new or added lines in 2 files covered. (100.0%)

3654 of 4082 relevant lines covered (89.51%)

11.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1842.1 (PKGS="python=3.7 flake8 black isort") 08 Jul 2020 11:31PM UTC 0
0.0
Travis Job 1842.1
2 1842.2 (PKGS="python=3.7 ipython matplotlib nbsphinx numpy pandas jupyter_client ipykernel python-graphviz graphviz xarray sparse dask[complete] sphinx Pygments==2.3.1 docutils==0.14 alabaster commonmark==0.8.1 recommonmark==0.5.0") 08 Jul 2020 11:32PM UTC 0
0.0
Travis Job 1842.2
3 1842.3 (PKGS="python=3.6") 08 Jul 2020 11:31PM UTC 0
74.7
Travis Job 1842.3
4 1842.4 (PKGS="python=3.7") 08 Jul 2020 11:33PM UTC 0
74.7
Travis Job 1842.4
5 1842.5 (PKGS="python=3.8") 08 Jul 2020 11:33PM UTC 0
75.01
Travis Job 1842.5
6 1842.6 (PKGS="python=3.6 uncertainties=3.0") 08 Jul 2020 11:34PM UTC 0
87.95
Travis Job 1842.6
7 1842.7 (PKGS="python=3.7 uncertainties=3.0") 08 Jul 2020 11:34PM UTC 0
87.95
Travis Job 1842.7
8 1842.8 (PKGS="python=3.6 numpy=1.14 matplotlib") 08 Jul 2020 11:35PM UTC 0
84.18
Travis Job 1842.8
9 1842.9 (PKGS="python=3.7 numpy=1.14 matplotlib") 08 Jul 2020 11:35PM UTC 0
84.18
Travis Job 1842.9
10 1842.10 (PKGS="python=3.8 numpy=1.17 matplotlib") 08 Jul 2020 11:36PM UTC 0
87.14
Travis Job 1842.10
11 1842.11 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 08 Jul 2020 11:37PM UTC 0
85.28
Travis Job 1842.11
12 1842.12 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 08 Jul 2020 11:37PM UTC 0
85.28
Travis Job 1842.12
13 1842.13 (PKGS="python=3.6 numpy uncertainties") 08 Jul 2020 11:37PM UTC 0
87.95
Travis Job 1842.13
14 1842.14 (PKGS="python=3.7 numpy uncertainties") 08 Jul 2020 11:38PM UTC 0
87.95
Travis Job 1842.14
15 1842.15 (PKGS="python=3.8 numpy uncertainties") 08 Jul 2020 11:38PM UTC 0
88.13
Travis Job 1842.15
16 1842.16 (PKGS="python=3.8 numpy uncertainties sparse xarray netCDF4") 08 Jul 2020 11:39PM UTC 0
88.22
Travis Job 1842.16
Source Files on build 1842
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1842
  • b5968877 on github
  • Prev Build on staging (#1840)
  • Next Build on staging (#1847)
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

© 2025 Coveralls, Inc