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

hgrecco / pint / 1590 / 5
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 04 Feb 2020 03:01PM UTC
Files 18
Run time 3s
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

04 Feb 2020 02:47PM UTC coverage: 76.002%. Remained the same
PKGS="python=3.8"

push

travis-ci

web-flow
Merge #1013

1013: Change default datatype to np.ptype("int") in test_numpy  r=hgrecco a=5igno

The test function test_result_type_numpy_func checks the datatype for [[1, 2], [3, 4]] * self.ureg.m to be integer. The test originally ensured the datatype to be np.ptype("int64"), but that fails in 32 bit environments, as shown in issue #1006.
Using np.ptype("int") instead ensure that the quantity is of default integer type, making numpy itself decide whether it should be np.ptype("int64") or np.ptype("int32").

- [x] Closes #1006
- [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
- [  ] Added an entry to the CHANGES file

Co-authored-by: 5igno <signobox@gmail.com>

3015 of 3967 relevant lines covered (76.0%)

0.76 hits per line

Source Files on job 1590.5 (PKGS="python=3.8")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1471
  • Travis Job 1590.5
  • 4c24203b on github
  • Prev Job for PKGS="python=3.8" on master (#1587.5)
  • Next Job for PKGS="python=3.8" on master (#1592.5)
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