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

hgrecco / pint / 1843
91%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2020 11:41PM UTC
Jobs 16
Files 18
Run time 7min
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
1843

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>

3654 of 4082 relevant lines covered (89.51%)

11.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1843.1 (PKGS="python=3.7 flake8 black isort") 08 Jul 2020 11:41PM UTC 0
0.0
Travis Job 1843.1
2 1843.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:43PM UTC 0
0.0
Travis Job 1843.2
3 1843.3 (PKGS="python=3.6") 08 Jul 2020 11:42PM UTC 0
74.7
Travis Job 1843.3
4 1843.4 (PKGS="python=3.7") 08 Jul 2020 11:42PM UTC 0
74.7
Travis Job 1843.4
5 1843.5 (PKGS="python=3.8") 08 Jul 2020 11:42PM UTC 0
75.08
Travis Job 1843.5
6 1843.6 (PKGS="python=3.6 uncertainties=3.0") 08 Jul 2020 11:44PM UTC 0
87.95
Travis Job 1843.6
7 1843.7 (PKGS="python=3.7 uncertainties=3.0") 08 Jul 2020 11:44PM UTC 0
87.95
Travis Job 1843.7
8 1843.8 (PKGS="python=3.6 numpy=1.14 matplotlib") 08 Jul 2020 11:44PM UTC 0
84.18
Travis Job 1843.8
9 1843.9 (PKGS="python=3.7 numpy=1.14 matplotlib") 08 Jul 2020 11:44PM UTC 0
84.18
Travis Job 1843.9
10 1843.10 (PKGS="python=3.8 numpy=1.17 matplotlib") 08 Jul 2020 11:45PM UTC 0
87.14
Travis Job 1843.10
11 1843.11 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 08 Jul 2020 11:47PM UTC 0
85.28
Travis Job 1843.11
12 1843.12 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 08 Jul 2020 11:47PM UTC 0
85.28
Travis Job 1843.12
13 1843.13 (PKGS="python=3.6 numpy uncertainties") 08 Jul 2020 11:46PM UTC 0
87.95
Travis Job 1843.13
14 1843.14 (PKGS="python=3.7 numpy uncertainties") 08 Jul 2020 11:47PM UTC 0
87.95
Travis Job 1843.14
15 1843.15 (PKGS="python=3.8 numpy uncertainties") 08 Jul 2020 11:48PM UTC 0
88.13
Travis Job 1843.15
16 1843.16 (PKGS="python=3.8 numpy uncertainties sparse xarray netCDF4") 08 Jul 2020 11:49PM UTC 0
88.22
Travis Job 1843.16
Source Files on build 1843
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1843
  • b5968877 on github
  • Prev Build on master (#1841)
  • Next Build on master (#1848)
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