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

hgrecco / pint / 1589
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 04 Feb 2020 02:48PM UTC
Jobs 15
Files 18
Run time 10min
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
1589

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>

3512 of 3873 relevant lines covered (90.68%)

11.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1589.1 (PKGS="python=3.7 flake8 black isort") 04 Feb 2020 02:48PM UTC 0
Travis Job 1589.1
2 1589.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 02:49PM UTC 0
Travis Job 1589.2
4 1589.4 (PKGS="python=3.7") 04 Feb 2020 02:49PM UTC 0
75.5
Travis Job 1589.4
5 1589.5 (PKGS="python=3.8") 04 Feb 2020 02:49PM UTC 0
76.0
Travis Job 1589.5
6 1589.6 (PKGS="python=3.6 uncertainties=3.0") 04 Feb 2020 02:50PM UTC 0
88.82
Travis Job 1589.6
7 1589.7 (PKGS="python=3.7 uncertainties=3.0") 04 Feb 2020 02:51PM UTC 0
88.9
Travis Job 1589.7
8 1589.8 (PKGS="python=3.6 numpy=1.14 matplotlib") 04 Feb 2020 02:51PM UTC 0
85.39
Travis Job 1589.8
9 1589.9 (PKGS="python=3.7 numpy=1.14 matplotlib") 04 Feb 2020 02:51PM UTC 0
85.39
Travis Job 1589.9
10 1589.10 (PKGS="python=3.8 numpy=1.17 matplotlib") 04 Feb 2020 02:53PM UTC 0
88.18
Travis Job 1589.10
11 1589.11 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 04 Feb 2020 02:52PM UTC 0
86.45
Travis Job 1589.11
12 1589.12 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 04 Feb 2020 02:53PM UTC 0
86.45
Travis Job 1589.12
13 1589.13 (PKGS="python=3.6 numpy uncertainties") 04 Feb 2020 02:59PM UTC 0
88.9
Travis Job 1589.13
14 1589.14 (PKGS="python=3.7 numpy uncertainties") 04 Feb 2020 02:53PM UTC 0
88.9
Travis Job 1589.14
15 1589.15 (PKGS="python=3.8 numpy uncertainties") 04 Feb 2020 02:55PM UTC 0
89.11
Travis Job 1589.15
16 1589.16 (PKGS="python xarray netCDF4") 04 Feb 2020 02:55PM UTC 0
87.5
Travis Job 1589.16
Source Files on build 1589
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1589
  • 4c24203b on github
  • Prev Build on staging (#1586)
  • Next Build on staging (#1591)
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