[Numpy-svn] [numpy/numpy] 77d911: TST: added a test for constant padding on 4 sides ...

GitHub noreply at github.com
Mon Apr 18 13:39:35 EDT 2016


  Branch: refs/heads/maintenance/1.11.x
  Home:   https://github.com/numpy/numpy
  Commit: 77d911ff03b43603cd3afcfc2f7b72f8df86a1fb
      https://github.com/numpy/numpy/commit/77d911ff03b43603cd3afcfc2f7b72f8df86a1fb
  Author: chiffa <ank at andreikucharavy.com>
  Date:   2016-04-18 (Mon, 18 Apr 2016)

  Changed paths:
    M numpy/lib/tests/test_arraypad.py

  Log Message:
  -----------
  TST: added a test for constant padding on 4 sides of a 2d array

This test exposes padding bug described in the issue #7353


  Commit: 32f8393b8c4b6cadadab10f785eceb406e8cef90
      https://github.com/numpy/numpy/commit/32f8393b8c4b6cadadab10f785eceb406e8cef90
  Author: chiffa <ank at andreikucharavy.com>
  Date:   2016-04-18 (Mon, 18 Apr 2016)

  Changed paths:
    M numpy/lib/arraypad.py

  Log Message:
  -----------
  BUG: constant padding expected wrong type in constant_values

Constant padding on 4 sides of a 2d array expected a numpy ndarray, and not a ndarray like (tuple, list, ...)
Detailed description is in the issue  #7353


  Commit: ea667d7cc9726a75d532e3856252e73f5c9b62f8
      https://github.com/numpy/numpy/commit/ea667d7cc9726a75d532e3856252e73f5c9b62f8
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-04-18 (Mon, 18 Apr 2016)

  Changed paths:
    M numpy/lib/arraypad.py
    M numpy/lib/tests/test_arraypad.py

  Log Message:
  -----------
  Merge pull request #7558 from charris/backport-7358

Backport 7358,  BUG: constant padding expected wrong type in constant_values


Compare: https://github.com/numpy/numpy/compare/1a3e30155784...ea667d7cc972


More information about the Numpy-svn mailing list