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

hgrecco / pint / 1590
91%

Build:
DEFAULT BRANCH: master
Ran 04 Feb 2020 03:01PM UTC
Jobs 14
Files 18
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
1590

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>

3506 of 3873 relevant lines covered (90.52%)

10.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1590.1 (PKGS="python=3.7 flake8 black isort") 04 Feb 2020 03:01PM UTC 0
Travis Job 1590.1
2 1590.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") 04 Feb 2020 03:02PM UTC 0
Travis Job 1590.2
3 1590.3 (PKGS="python=3.6") 04 Feb 2020 03:01PM UTC 0
75.58
Travis Job 1590.3
4 1590.4 (PKGS="python=3.7") 04 Feb 2020 03:02PM UTC 0
75.58
Travis Job 1590.4
5 1590.5 (PKGS="python=3.8") 04 Feb 2020 03:01PM UTC 0
76.0
Travis Job 1590.5
6 1590.6 (PKGS="python=3.6 uncertainties=3.0") 04 Feb 2020 03:03PM UTC 0
88.9
Travis Job 1590.6
7 1590.7 (PKGS="python=3.7 uncertainties=3.0") 04 Feb 2020 03:04PM UTC 0
88.9
Travis Job 1590.7
8 1590.8 (PKGS="python=3.6 numpy=1.14 matplotlib") 04 Feb 2020 03:04PM UTC 0
85.39
Travis Job 1590.8
9 1590.9 (PKGS="python=3.7 numpy=1.14 matplotlib") 04 Feb 2020 03:04PM UTC 0
85.39
Travis Job 1590.9
10 1590.10 (PKGS="python=3.8 numpy=1.17 matplotlib") 04 Feb 2020 03:04PM UTC 0
88.18
Travis Job 1590.10
11 1590.11 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 04 Feb 2020 03:05PM UTC 0
86.45
Travis Job 1590.11
12 1590.12 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 04 Feb 2020 03:06PM UTC 0
86.45
Travis Job 1590.12
14 1590.14 (PKGS="python=3.7 numpy uncertainties") 04 Feb 2020 03:06PM UTC 0
88.9
Travis Job 1590.14
16 1590.16 (PKGS="python xarray netCDF4") 04 Feb 2020 03:07PM UTC 0
87.5
Travis Job 1590.16
Source Files on build 1590
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1590
  • 4c24203b on github
  • Prev Build on master (#1587)
  • Next Build on master (#1592)
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