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

Functions

def test_dtypes ()
 
def arr ()
 
def test_array_attributes ()
 
def test_index_offset (arr, args, ret)
 
def test_dim_check_fail (arr)
 
def test_data (arr, args, ret)
 
def test_at_fail (arr, dim)
 
def test_at (arr)
 
def test_mutate_readonly (arr)
 
def test_mutate_data (arr)
 
def test_bounds_check (arr)
 
def test_make_c_f_array ()
 
def test_make_empty_shaped_array ()
 
def test_wrap ()
 
def test_numpy_view (capture)
 
def test_cast_numpy_int64_to_uint64 ()
 
def test_isinstance ()
 
def test_constructors ()
 
def test_overload_resolution (msg)
 
def test_greedy_string_overload ()
 
def test_array_unchecked_fixed_dims (msg)
 
def test_array_unchecked_dyn_dims (msg)
 
def test_array_failure ()
 
def test_initializer_list ()
 
def test_array_resize (msg)
 
def test_array_create_and_resize (msg)
 
def test_index_using_ellipsis ()
 
def test_dtype_refcount_leak ()
 

Variables

 pytestmark = pytest.requires_numpy
 

Function Documentation

◆ arr()

def test_numpy_array.arr ( )

Definition at line 26 of file test_numpy_array.py.

◆ test_array_attributes()

def test_numpy_array.test_array_attributes ( )

Definition at line 30 of file test_numpy_array.py.

◆ test_array_create_and_resize()

def test_numpy_array.test_array_create_and_resize (   msg)

Definition at line 427 of file test_numpy_array.py.

◆ test_array_failure()

def test_numpy_array.test_array_failure ( )

Definition at line 380 of file test_numpy_array.py.

◆ test_array_resize()

def test_numpy_array.test_array_resize (   msg)

Definition at line 401 of file test_numpy_array.py.

◆ test_array_unchecked_dyn_dims()

def test_numpy_array.test_array_unchecked_dyn_dims (   msg)

Definition at line 368 of file test_numpy_array.py.

◆ test_array_unchecked_fixed_dims()

def test_numpy_array.test_array_unchecked_fixed_dims (   msg)

Definition at line 347 of file test_numpy_array.py.

◆ test_at()

def test_numpy_array.test_at (   arr)

Definition at line 105 of file test_numpy_array.py.

◆ test_at_fail()

def test_numpy_array.test_at_fail (   arr,
  dim 
)

Definition at line 98 of file test_numpy_array.py.

◆ test_bounds_check()

def test_numpy_array.test_bounds_check (   arr)

Definition at line 135 of file test_numpy_array.py.

◆ test_cast_numpy_int64_to_uint64()

def test_numpy_array.test_cast_numpy_int64_to_uint64 ( )

Definition at line 246 of file test_numpy_array.py.

◆ test_constructors()

def test_numpy_array.test_constructors ( )

Definition at line 256 of file test_numpy_array.py.

◆ test_data()

def test_numpy_array.test_data (   arr,
  args,
  ret 
)

Definition at line 90 of file test_numpy_array.py.

◆ test_dim_check_fail()

def test_numpy_array.test_dim_check_fail (   arr)

Definition at line 77 of file test_numpy_array.py.

◆ test_dtype_refcount_leak()

def test_numpy_array.test_dtype_refcount_leak ( )

Definition at line 440 of file test_numpy_array.py.

◆ test_dtypes()

def test_numpy_array.test_dtypes ( )

Definition at line 10 of file test_numpy_array.py.

◆ test_greedy_string_overload()

def test_numpy_array.test_greedy_string_overload ( )
Tests fix for #685 - ndarray shouldn't go to std::string overload

Definition at line 339 of file test_numpy_array.py.

◆ test_index_offset()

def test_numpy_array.test_index_offset (   arr,
  args,
  ret 
)

Definition at line 70 of file test_numpy_array.py.

◆ test_index_using_ellipsis()

def test_numpy_array.test_index_using_ellipsis ( )

Definition at line 434 of file test_numpy_array.py.

◆ test_initializer_list()

def test_numpy_array.test_initializer_list ( )

Definition at line 394 of file test_numpy_array.py.

◆ test_isinstance()

def test_numpy_array.test_isinstance ( )

Definition at line 251 of file test_numpy_array.py.

◆ test_make_c_f_array()

def test_numpy_array.test_make_c_f_array ( )

Definition at line 146 of file test_numpy_array.py.

◆ test_make_empty_shaped_array()

def test_numpy_array.test_make_empty_shaped_array ( )

Definition at line 153 of file test_numpy_array.py.

◆ test_mutate_data()

def test_numpy_array.test_mutate_data (   arr)

Definition at line 121 of file test_numpy_array.py.

◆ test_mutate_readonly()

def test_numpy_array.test_mutate_readonly (   arr)

Definition at line 113 of file test_numpy_array.py.

◆ test_numpy_view()

def test_numpy_array.test_numpy_view (   capture)

Definition at line 218 of file test_numpy_array.py.

◆ test_overload_resolution()

def test_numpy_array.test_overload_resolution (   msg)

Definition at line 272 of file test_numpy_array.py.

◆ test_wrap()

def test_numpy_array.test_wrap ( )

Definition at line 162 of file test_numpy_array.py.

Variable Documentation

◆ pytestmark

pytestmark = pytest.requires_numpy

Definition at line 4 of file test_numpy_array.py.