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

hgrecco / pint / 769 / 1
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 23 Mar 2018 05:39PM UTC
Files 16
Run time 1s
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

23 Mar 2018 05:28PM UTC coverage: 86.288% (+0.01%) from 86.275%
UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=1.11.2

push

travis-ci

bors[bot]
Merge #626

626: Added warning for unsupported ufunc r=hgrecco a=kanhua

This PR attempts to close #620.

A ```UnitStrippedWarning``` is raised when an unsupported numpy ufunc is performed on the quantity.

This warning can be muted or amplified using ```warnings.simplefilter()```, for example,

```python
import warnings
import numpy as np
from pint import UnitRegistry, UnitStrippedWarning
warnings.simplefilter('ignore', category=UnitStrippedWarning)

ureg=UnitRegistry()
dist=24*ureg.meter

print(np.power(dis,2))

```

2750 of 3187 relevant lines covered (86.29%)

0.86 hits per line

Source Files on job 769.1 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=1.11.2)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 769.1
  • 8bf3181c on github
  • Prev Job for UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=1.11.2 on master (#764.1)
  • Next Job for UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=1.11.2 on master (#772.1)
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