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

dask / dask / 11954
53%

Build:
DEFAULT BRANCH: master
Ran 24 Jun 2019 08:56PM UTC
Jobs 1
Files 111
Run time 22s
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
11954

push

travis-ci

jrbourbeau
Ensure trivial padding returns the original array (#4990)

* Test trivial padding returns the original array

The `da.pad` function handles padding of the ends by using
`da.concatenate` to join the edges with the original array. Thus if the
arrays to pad were trivial in size, they would be joined as well.
However this results in some unnecessary changes to the graph.

The `da.concatenate` function has since been rewritten to drop arrays of
trivial length from the result. Thus `da.pad` benefits from this
behavior and will also exclude arrays of trivial length. Though this was
not tested previously. So here we include a test to ensure `da.pad`
doesn't change the array when trivial padding occurs.

* Ensure `da.pad` stat modes keep original array

* Test trivial paddings with stats

18402 of 20265 relevant lines covered (90.81%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
2 11954.2 (PYTHON=3.6 NUMPY=1.15.1 PANDAS=0.23.4 TEST='true' LINT='true' COVERAGE='true' PARALLEL='false' XTRATESTARGS= TEST_IMPORTS='true') 24 Jun 2019 08:57PM UTC 0
90.81
Travis Job 11954.2
Source Files on build 11954
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11954
  • 06e21052 on github
  • Prev Build on master (#11953)
  • Next Build on master (#11960)
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