summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_arraypad.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefanv@berkeley.edu>2019-03-15 12:26:01 -0700
committerStefan van der Walt <stefanv@berkeley.edu>2019-03-15 12:26:01 -0700
commit9a037558d66f54b27acd133b8b8e92f76717a849 (patch)
tree27a2df5ad04ea41d7dfca87ab8cdf2217d619c3a /numpy/lib/tests/test_arraypad.py
parentf45466d7604b645d68fd6224cba8b40dac661dd7 (diff)
downloadnumpy-9a037558d66f54b27acd133b8b8e92f76717a849.tar.gz
Fix array dispatcher
Diffstat (limited to 'numpy/lib/tests/test_arraypad.py')
-rw-r--r--numpy/lib/tests/test_arraypad.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_arraypad.py b/numpy/lib/tests/test_arraypad.py
index 51633bb70..b7393294a 100644
--- a/numpy/lib/tests/test_arraypad.py
+++ b/numpy/lib/tests/test_arraypad.py
@@ -1251,7 +1251,7 @@ def test_kwargs(mode):
def test_constant_zero_default():
arr = np.array([1, 1])
- assert_array_equal(pad(arr, 2), [0, 0, 1, 1, 0, 0])
+ assert_array_equal(np.pad(arr, 2), [0, 0, 1, 1, 0, 0])
@pytest.mark.parametrize("mode", _all_modes.keys())