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

hgrecco / pint / 1541
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 09 Jan 2020 05:00PM UTC
Jobs 16
Files 43
Run time 6min
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
1541

push

travis-ci

web-flow
Merge #979

979: Add implementations and tests for allclose and intersect1d r=hgrecco a=jthielen

Adds two recently requested NumPy function implementations (`allclose` from #978 and `intersect1d` from #976).

In case it is useful, below is a quick check of what NumPy functions in the main module Pint *does not* implement yet (as of this PR):

```python
import numpy as np
from pint.numpy_func import HANDLED_FUNCTIONS

print(sorted(set(attr for attr in dir(np)
                 if hasattr(getattr(np, attr), '_implementation'))
             - set(HANDLED_FUNCTIONS))) 
```
```
['alltrue', 'angle', 'apply_along_axis', 'apply_over_axes', 'argpartition', 'argwhere', 'array2string', 'array_equal', 'array_equiv', 'array_repr', 'array_split', 'array_str', 'asfarray', 'asscalar', 'bincount', 'broadcast_arrays', 'busday_count', 'busday_offset', 'can_cast', 'choose', 'common_type', 'convolve', 'corrcoef', 'correlate', 'cov', 'datetime_as_string', 'delete', 'diag', 'diag_indices_from', 'diagflat', 'digitize', 'dsplit', 'einsum_path', 'extract', 'fill_diagonal', 'flatnonzero', 'fliplr', 'flipud', 'fv', 'geomspace', 'histogram', 'histogram2d', 'histogram_bin_edges', 'histogramdd', 'hsplit', 'i0', 'imag', 'in1d', 'inner', 'ipmt', 'irr', 'is_busday', 'iscomplexobj', 'isneginf', 'isposinf', 'isrealobj', 'ix_', 'kron', 'lexsort', 'logspace', 'max', 'may_share_memory', 'min', 'min_scalar_type', 'mirr', 'msort', 'nanprod', 'nanquantile', 'nper', 'npv', 'outer', 'packbits', 'partition', 'piecewise', 'place', 'pmt', 'poly', 'polyadd', 'polyder', 'polydiv', 'polyfit', 'polyint', 'polymul', 'polysub', 'polyval', 'ppmt', 'prod', 'product', 'put', 'put_along_axis', 'putmask', 'pv', 'quantile', 'rank', 'rate', 'ravel_multi_index', 'real', 'real_if_close', 'repeat', 'roll', 'roots', 'round', 'row_stack', 'save', 'savetxt', 'savez', 'savez_compressed', 'select', 'setdiff1d', 'setxor1d', 'shares_memory', 'sinc', 'sometrue', 'sort_complex', 'split', 'take', 'take_along_a... (continued)

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

8023 of 8641 relevant lines covered (92.85%)

12.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1541.1 (PKGS="python=3.7 flake8 black isort") 09 Jan 2020 05:01PM UTC 0
Travis Job 1541.1
2 1541.2 (PKGS="python=3.7 ipython matplotlib nbsphinx numpy sphinx Pygments==2.3.1 docutils==0.14 alabaster commonmark==0.8.1 recommonmark==0.5.0") 09 Jan 2020 05:02PM UTC 0
Travis Job 1541.2
3 1541.3 (PKGS="python=3.6") 09 Jan 2020 05:01PM UTC 0
73.58
Travis Job 1541.3
4 1541.4 (PKGS="python=3.7") 09 Jan 2020 05:01PM UTC 0
73.58
Travis Job 1541.4
5 1541.5 (PKGS="python=3.8") 09 Jan 2020 05:01PM UTC 0
74.22
Travis Job 1541.5
6 1541.6 (PKGS="python=3.6 uncertainties=3.0") 09 Jan 2020 05:03PM UTC 0
91.71
Travis Job 1541.6
7 1541.7 (PKGS="python=3.7 uncertainties=3.0") 09 Jan 2020 05:03PM UTC 0
91.71
Travis Job 1541.7
8 1541.8 (PKGS="python=3.6 numpy=1.14 matplotlib") 09 Jan 2020 05:03PM UTC 0
86.18
Travis Job 1541.8
9 1541.9 (PKGS="python=3.7 numpy=1.14 matplotlib") 09 Jan 2020 05:03PM UTC 0
86.18
Travis Job 1541.9
10 1541.10 (PKGS="python=3.8 numpy=1.17 matplotlib") 09 Jan 2020 05:04PM UTC 0
89.97
Travis Job 1541.10
11 1541.11 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 09 Jan 2020 05:05PM UTC 0
88.21
Travis Job 1541.11
12 1541.12 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 09 Jan 2020 05:05PM UTC 0
88.21
Travis Job 1541.12
13 1541.13 (PKGS="python=3.6 numpy uncertainties") 09 Jan 2020 05:05PM UTC 0
91.71
Travis Job 1541.13
14 1541.14 (PKGS="python=3.7 numpy uncertainties") 09 Jan 2020 05:06PM UTC 0
91.71
Travis Job 1541.14
15 1541.15 (PKGS="python=3.8 numpy uncertainties") 09 Jan 2020 05:07PM UTC 0
91.86
Travis Job 1541.15
16 1541.16 (PKGS="python xarray netCDF4") 09 Jan 2020 05:07PM UTC 0
90.08
Travis Job 1541.16
Source Files on build 1541
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1541
  • 2da1be75 on github
  • Prev Build on staging (#1535)
  • Next Build on staging (#1547)
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