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

hgrecco / pint / 1860 / 10
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2020 09:38PM UTC
Files 18
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

01 Aug 2020 09:23PM UTC coverage: 87.111% (-0.07%) from 87.183%
PKGS="python=3.8 numpy=1.17 matplotlib"

push

travis-ci

web-flow
Merge #1137

1137: Avoid warning when setting a masked value r=hgrecco a=dopplershift

When the underlying data is a masked array, __setitem__ can be given a sentintel np.ma.masked or masked values. This avoids passing them to math.isnan which causes a warning:
```
miniconda3/envs/py38/lib/python3.8/site-packages/pint/quantity.py:1782: UserWarning: Warning: converting a masked element to nan.
    if math.isnan(value):
```

- [ ] Closes # (insert issue number)
- [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
- [x] Added an entry to the CHANGES file


Co-authored-by: Ryan May <rmay@ucar.edu>

3636 of 4174 relevant lines covered (87.11%)

0.87 hits per line

Source Files on job 1860.10 (PKGS="python=3.8 numpy=1.17 matplotlib")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1726
  • Travis Job 1860.10
  • 3d99581a on github
  • Prev Job for PKGS="python=3.8 numpy=1.17 matplotlib" on master (#1857.10)
  • Next Job for PKGS="python=3.8 numpy=1.17 matplotlib" on master (#1869.10)
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