Scarab  v2.9.0
Project 8 C++ Utility Library
Functions | Variables
test_numpy_dtypes Namespace Reference

Functions

def simple_dtype ()
 
def packed_dtype ()
 
def dt_fmt ()
 
def simple_dtype_fmt ()
 
def packed_dtype_fmt ()
 
def partial_ld_offset ()
 
def partial_dtype_fmt ()
 
def partial_nested_fmt ()
 
def assert_equal (actual, expected_data, expected_dtype)
 
def test_format_descriptors ()
 
def test_dtype (simple_dtype)
 
def test_recarray (simple_dtype, packed_dtype)
 
def test_array_constructors ()
 
def test_string_array ()
 
def test_array_array ()
 
def test_enum_array ()
 
def test_complex_array ()
 
def test_signature (doc)
 
def test_scalar_conversion ()
 
def test_register_dtype ()
 
def test_str_leak ()
 
def test_compare_buffer_info ()
 

Variables

 pytestmark = pytest.requires_numpy
 
 scope
 

Function Documentation

◆ assert_equal()

def test_numpy_dtypes.assert_equal (   actual,
  expected_data,
  expected_dtype 
)

Definition at line 64 of file test_numpy_dtypes.py.

◆ dt_fmt()

def test_numpy_dtypes.dt_fmt ( )

Definition at line 24 of file test_numpy_dtypes.py.

◆ packed_dtype()

def test_numpy_dtypes.packed_dtype ( )

Definition at line 20 of file test_numpy_dtypes.py.

◆ packed_dtype_fmt()

def test_numpy_dtypes.packed_dtype_fmt ( )

Definition at line 38 of file test_numpy_dtypes.py.

◆ partial_dtype_fmt()

def test_numpy_dtypes.partial_dtype_fmt ( )

Definition at line 49 of file test_numpy_dtypes.py.

◆ partial_ld_offset()

def test_numpy_dtypes.partial_ld_offset ( )

Definition at line 44 of file test_numpy_dtypes.py.

◆ partial_nested_fmt()

def test_numpy_dtypes.partial_nested_fmt ( )

Definition at line 55 of file test_numpy_dtypes.py.

◆ simple_dtype()

def test_numpy_dtypes.simple_dtype ( )

Definition at line 12 of file test_numpy_dtypes.py.

◆ simple_dtype_fmt()

def test_numpy_dtypes.simple_dtype_fmt ( )

Definition at line 32 of file test_numpy_dtypes.py.

◆ test_array_array()

def test_numpy_dtypes.test_array_array ( )

Definition at line 211 of file test_numpy_dtypes.py.

◆ test_array_constructors()

def test_numpy_dtypes.test_array_constructors ( )

Definition at line 185 of file test_numpy_dtypes.py.

◆ test_compare_buffer_info()

def test_numpy_dtypes.test_compare_buffer_info ( )

Definition at line 309 of file test_numpy_dtypes.py.

◆ test_complex_array()

def test_numpy_dtypes.test_complex_array ( )

Definition at line 252 of file test_numpy_dtypes.py.

◆ test_dtype()

def test_numpy_dtypes.test_dtype (   simple_dtype)

Definition at line 94 of file test_numpy_dtypes.py.

◆ test_enum_array()

def test_numpy_dtypes.test_enum_array ( )

Definition at line 235 of file test_numpy_dtypes.py.

◆ test_format_descriptors()

def test_numpy_dtypes.test_format_descriptors ( )

Definition at line 68 of file test_numpy_dtypes.py.

◆ test_recarray()

def test_numpy_dtypes.test_recarray (   simple_dtype,
  packed_dtype 
)

Definition at line 125 of file test_numpy_dtypes.py.

◆ test_register_dtype()

def test_numpy_dtypes.test_register_dtype ( )

Definition at line 290 of file test_numpy_dtypes.py.

◆ test_scalar_conversion()

def test_numpy_dtypes.test_scalar_conversion ( )

Definition at line 274 of file test_numpy_dtypes.py.

◆ test_signature()

def test_numpy_dtypes.test_signature (   doc)

Definition at line 269 of file test_numpy_dtypes.py.

◆ test_str_leak()

def test_numpy_dtypes.test_str_leak ( )

Definition at line 297 of file test_numpy_dtypes.py.

◆ test_string_array()

def test_numpy_dtypes.test_string_array ( )

Definition at line 195 of file test_numpy_dtypes.py.

Variable Documentation

◆ pytestmark

pytestmark = pytest.requires_numpy

Definition at line 5 of file test_numpy_dtypes.py.

◆ scope

scope

Definition at line 11 of file test_numpy_dtypes.py.