class documentation

class TestBuiltin: (source)

View In Hierarchy

Undocumented

Method test_bad_param Undocumented
Method test_dtype Undocumented
Method test_dtype_bytes_str_equivalence Undocumented
Method test_dtype_from_bytes Undocumented
Method test_equivalent_dtype_hashing Undocumented
Method test_field_order_equality Undocumented
Method test_invalid_types Undocumented
Method test_numeric_style_types_are_invalid Undocumented
Method test_remaining_dtypes_with_bad_bytesize Undocumented
Method test_richcompare_invalid_dtype_comparison Undocumented
Method test_richcompare_invalid_dtype_equality Undocumented
Method test_run Only test hash runs at all.
def test_bad_param(self): (source)

Undocumented

@pytest.mark.parametrize('t', [int, float])
def test_dtype(self, t): (source)

Undocumented

@pytest.mark.parametrize('value', ['m8', 'M8', 'datetime64', 'timedelta64', 'i4, (2,3)f8, f4', 'a3, 3u8, (3,4)a10', '>f', '<f', '=f', '|f'])
def test_dtype_bytes_str_equivalence(self, value): (source)

Undocumented

def test_dtype_from_bytes(self): (source)

Undocumented

def test_equivalent_dtype_hashing(self): (source)

Undocumented

def test_field_order_equality(self): (source)

Undocumented

def test_invalid_types(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', ['Bool', 'Bytes0', 'Complex32', 'Complex64', 'Datetime64', 'Float16', 'Float32', 'Float64', 'Int8', 'Int16', 'Int32', 'Int64', 'Object0', 'Str0', 'Timedelta64', 'UInt8', 'UInt16', 'Uint32', 'UInt32', 'Uint64', 'UInt64', 'Void0', 'Float128', 'Complex128'])
def test_numeric_style_types_are_invalid(self, dtype): (source)

Undocumented

def test_remaining_dtypes_with_bad_bytesize(self): (source)

Undocumented

@pytest.mark.parametrize('operation', [operator.le, operator.lt, operator.ge, operator.gt])
def test_richcompare_invalid_dtype_comparison(self, operation): (source)

Undocumented

def test_richcompare_invalid_dtype_equality(self): (source)

Undocumented

@pytest.mark.parametrize('t', [int, float, complex, np.int32, str, object, np.compat.unicode])
def test_run(self, t): (source)

Only test hash runs at all.