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

hgrecco / pint / 1541 / 15
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 09 Jan 2020 05:07PM UTC
Files 43
Run time 4s
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

09 Jan 2020 04:59PM UTC coverage: 91.863% (+0.006%) from 91.857%
PKGS="python=3.8 numpy uncertainties"

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)

8208 of 8935 relevant lines covered (91.86%)

0.92 hits per line

Source Files on job 1541.15 (PKGS="python=3.8 numpy uncertainties")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1422
  • Travis Job 1541.15
  • 2da1be75 on github
  • Prev Job for PKGS="python=3.8 numpy uncertainties" on staging (#1535.15)
  • Next Job for PKGS="python=3.8 numpy uncertainties" on staging (#1547.15)
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