test_array_from_pyobj

Module Contents

wrap
setup()

Build the required testing extension module

flags_info(arr)
flags2names(flags)
class Intent(intent_list=[])

Bases:object

__getattr__(self, name)
__str__(self)
__repr__(self)
is_intent(self, *names)
is_intent_exact(self, *names)
intent
_type_names = ['BOOL', 'BYTE', 'UBYTE', 'SHORT', 'USHORT', 'INT', 'UINT', 'LONG', 'ULONG', 'LONGLONG', 'ULONGLONG', 'FLOAT', 'DOUBLE', 'CFLOAT']
_cast_dict
class Type

Bases:object

_type_cache
classmethod __new__(cls, name)
_init(self, name)
cast_types(self)
all_types(self)
smaller_types(self)
equal_types(self)
larger_types(self)
class Array(typ, dims, intent, obj)

Bases:object

arr_equal(self, arr1, arr2)
__str__(self)
has_shared_memory(self)

Check that created array shares data with input array.

class test_intent

Bases:unittest.TestCase

test_in_out(self)
class _test_shared_memory
num2seq = [1, 2]
num23seq = [[1, 2, 3], [4, 5, 6]]
test_in_from_2seq(self)
test_in_from_2casttype(self)
test_inout_2seq(self)
test_f_inout_23seq(self)
test_c_inout_23seq(self)
test_in_copy_from_2casttype(self)
test_c_in_from_23seq(self)
test_in_from_23casttype(self)
test_f_in_from_23casttype(self)
test_c_in_from_23casttype(self)
test_f_copy_in_from_23casttype(self)
test_c_copy_in_from_23casttype(self)
test_in_cache_from_2casttype(self)
test_in_cache_from_2casttype_failure(self)
test_cache_hidden(self)
test_hidden(self)
test_optional_none(self)
test_optional_from_2seq(self)
test_optional_from_23seq(self)
test_inplace(self)
test_inplace_from_casttype(self)