module documentation

Tests for the array padding functions.
Class ​Test​As​Pairs No class docstring; 5/6 methods documented
Class ​Test​Conditional​Shortcuts Undocumented
Class ​Test​Constant Undocumented
Class ​Test​Edge Undocumented
Class ​Test​Empty Undocumented
Class ​Test​Empty​Array Check how padding behaves on arrays with an empty dimension.
Class ​Test​Linear​Ramp No class docstring; 2/5 methods documented
Class ​Test​Pad​Width Undocumented
Class ​Test​Reflect Undocumented
Class ​Test​Statistic No class docstring; 1/18 method documented
Class ​Test​Symmetric Undocumented
Class ​Test​Wrap No class docstring; 1/6 method documented
Function test​_constant​_zero​_default Undocumented
Function test​_dtype​_persistence Undocumented
Function test​_kwargs Test behavior of pad's kwargs for the given mode.
Function test​_legacy​_vector​_functionality Undocumented
Function test​_memory​_layout​_persistence Test if C and F order is preserved for all pad modes.
Function test​_non​_contiguous​_array Undocumented
Function test​_object​_input Undocumented
Function test​_unicode​_mode Undocumented
Function test​_unsupported​_mode Undocumented
Variable ​_all​_modes Undocumented
Variable ​_numeric​_dtypes Undocumented
def test_constant_zero_default():

Undocumented

@pytest.mark.parametrize('dtype', _numeric_dtypes)
@pytest.mark.parametrize('mode', _all_modes.keys())
def test_dtype_persistence(dtype, mode):

Undocumented

@pytest.mark.parametrize('mode', _all_modes.keys())
def test_kwargs(mode):
Test behavior of pad's kwargs for the given mode.
def test_legacy_vector_functionality():

Undocumented

@pytest.mark.parametrize('mode', _all_modes.keys())
def test_memory_layout_persistence(mode):
Test if C and F order is preserved for all pad modes.
@pytest.mark.parametrize('mode', _all_modes.keys())
def test_non_contiguous_array(mode):

Undocumented

@pytest.mark.parametrize('mode', ['edge', 'symmetric', 'reflect', 'wrap'])
def test_object_input(mode):

Undocumented

def test_unicode_mode():

Undocumented

@pytest.mark.parametrize('mode', [1, 'const', object(), None, True, False])
def test_unsupported_mode(mode):

Undocumented

_all_modes: dict =

Undocumented

_numeric_dtypes =

Undocumented