module documentation

Tests for the array padding functions.

Class TestAsPairs No class docstring; 5/6 methods documented
Class TestConditionalShortcuts Undocumented
Class TestConstant Undocumented
Class TestEdge Undocumented
Class TestEmpty Undocumented
Class TestEmptyArray Check how padding behaves on arrays with an empty dimension.
Class TestLinearRamp No class docstring; 2/5 methods documented
Class TestPadWidth Undocumented
Class TestReflect Undocumented
Class TestStatistic No class docstring; 1/18 method documented
Class TestSymmetric Undocumented
Class TestWrap 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(): (source)

Undocumented

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

Undocumented

@pytest.mark.parametrize('mode', _all_modes.keys())
def test_kwargs(mode): (source)

Test behavior of pad's kwargs for the given mode.

def test_legacy_vector_functionality(): (source)

Undocumented

@pytest.mark.parametrize('mode', _all_modes.keys())
def test_memory_layout_persistence(mode): (source)

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): (source)

Undocumented

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

Undocumented

def test_unicode_mode(): (source)

Undocumented

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

Undocumented

_all_modes: dict = (source)

Undocumented

_numeric_dtypes = (source)

Undocumented