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

GitHub noreply at github.com
Sat Feb 27 22:34:50 EST 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 8f64328991fa32e02a45e15edebdff8c3245db5f
      https://github.com/numpy/numpy/commit/8f64328991fa32e02a45e15edebdff8c3245db5f
  Author: chiffa <ank at andreikucharavy.com>
  Date:   2016-02-27 (Sat, 27 Feb 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: 3db32cb133e858e48596de29f5693633a7b4dcc4
      https://github.com/numpy/numpy/commit/3db32cb133e858e48596de29f5693633a7b4dcc4
  Author: chiffa <ank at andreikucharavy.com>
  Date:   2016-02-27 (Sat, 27 Feb 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: e90e254a916610d2576fa5c2e1627b1d8d530d20
      https://github.com/numpy/numpy/commit/e90e254a916610d2576fa5c2e1627b1d8d530d20
  Author: Nathaniel J. Smith <njs at pobox.com>
  Date:   2016-02-28 (Sun, 28 Feb 2016)

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

  Log Message:
  -----------
  Merge pull request #7358 from chiffa/master

BUG: pull request related to the issue #7353


Compare: https://github.com/numpy/numpy/compare/140552df7c55...e90e254a9166


More information about the Numpy-svn mailing list