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

hgrecco / pint / 1978
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 07 Jan 2021 05:19AM UTC
Jobs 15
Files 18
Run time 9min
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
1978

push

travis-ci

web-flow
Merge #1201

1201: Fix bug with comparisons of subclasses of Quantity. r=hgrecco a=lewisamarshall

- [x] Closes #1134
- [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 (N/A, bugfix)
- [x] Added an entry to the CHANGES file

This PR compares `other` to `Quantity` instead of `self.__class__` to ensure that subclasses of `Quantity` can compare with one-another. It also adds an explicit comparison of the registries to be sure that only `Quantity` objects from the same registry can be compared.

Test cases are added based on the suggested behavior in #1134 . 

Co-authored-by: Lewis A. Marshall <lewis@purigenbio.com>
Co-authored-by: Hernan Grecco <hernan.grecco@gmail.com>

4 of 4 new or added lines in 1 file covered. (100.0%)

3725 of 4150 relevant lines covered (89.76%)

11.81 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1978.2 (PKGS="python=3.7 ipython matplotlib nbsphinx numpy pandas==1.1.3 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 babel==2.8") 07 Jan 2021 05:20AM UTC 0
0.0
Travis Job 1978.2
3 1978.3 (PKGS="python=3.6") 07 Jan 2021 05:19AM UTC 0
75.04
Travis Job 1978.3
4 1978.4 (PKGS="python=3.7") 07 Jan 2021 05:19AM UTC 0
74.99
Travis Job 1978.4
5 1978.5 (PKGS="python=3.8") 07 Jan 2021 05:19AM UTC 0
75.39
Travis Job 1978.5
6 1978.6 (PKGS="python=3.6 uncertainties=3.0") 07 Jan 2021 05:22AM UTC 0
88.22
Travis Job 1978.6
7 1978.7 (PKGS="python=3.7 uncertainties=3.0") 07 Jan 2021 05:22AM UTC 0
88.17
Travis Job 1978.7
8 1978.8 (PKGS="python=3.6 numpy=1.14 matplotlib") 07 Jan 2021 05:23AM UTC 0
84.44
Travis Job 1978.8
9 1978.9 (PKGS="python=3.7 numpy=1.14 matplotlib") 07 Jan 2021 05:23AM UTC 0
84.46
Travis Job 1978.9
10 1978.10 (PKGS="python=3.8 numpy=1.17 matplotlib") 07 Jan 2021 05:25AM UTC 0
87.39
Travis Job 1978.10
11 1978.11 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 07 Jan 2021 05:25AM UTC 0
85.55
Travis Job 1978.11
12 1978.12 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 07 Jan 2021 05:25AM UTC 0
85.5
Travis Job 1978.12
13 1978.13 (PKGS="python=3.6 numpy uncertainties") 07 Jan 2021 05:26AM UTC 0
88.22
Travis Job 1978.13
14 1978.14 (PKGS="python=3.7 numpy uncertainties") 07 Jan 2021 05:27AM UTC 0
88.17
Travis Job 1978.14
15 1978.15 (PKGS="python=3.8 numpy uncertainties") 07 Jan 2021 05:27AM UTC 0
88.28
Travis Job 1978.15
16 1978.16 (PKGS="python=3.8 numpy uncertainties sparse xarray netCDF4") 07 Jan 2021 05:28AM UTC 0
88.4
Travis Job 1978.16
Source Files on build 1978
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1978
  • 912fd33f on github
  • Prev Build on staging (#1975)
  • Next Build on staging (#1981)
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