class documentation

class TestBuiltin:

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​_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):

Undocumented

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

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

Undocumented

def test_dtype_from_bytes(self):

Undocumented

def test_equivalent_dtype_hashing(self):

Undocumented

def test_field_order_equality(self):

Undocumented

def test_invalid_types(self):

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

Undocumented

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

Undocumented

def test_richcompare_invalid_dtype_equality(self):

Undocumented

@pytest.mark.parametrize('t', [int, float, complex, np.int32, str, object, np.compat.unicode])
def test_run(self, t):
Only test hash runs at all.