Classes | Functions | Variables
test_pytypes Namespace Reference

Classes

class  CustomContains
 

Functions

def test_accessor_moves ()
 
def test_accessors ()
 
def test_bool (doc)
 
def test_builtin_functions ()
 
def test_bytearray ()
 
def test_bytes (doc)
 
def test_capsule (capture)
 
def test_constructors ()
 
def test_cpp_iterators ()
 
def test_dict (capture, doc)
 
def test_external_float_ ()
 
def test_float (doc)
 
def test_from_iterable (pytype, from_iter_func)
 
def test_frozenset (capture, doc)
 
def test_handle_from_move_only_type_with_operator_PyObject ()
 
def test_hash ()
 
def test_implementation_details ()
 
def test_implicit_casting ()
 
def test_inplace_and (a, b)
 
def test_inplace_append (a, b)
 
def test_inplace_divide (a, b)
 
def test_inplace_lshift (a, b)
 
def test_inplace_multiply (a, b)
 
def test_inplace_or (a, b)
 
def test_inplace_rshift (a, b)
 
def test_inplace_subtract (a, b)
 
def test_int (doc)
 
def test_isinstance_string_types ()
 
def test_issue2361 ()
 
def test_iterable (doc)
 
def test_iterator (doc)
 
def test_list (capture, doc)
 
def test_list_rvalue_getter ()
 
def test_list_slicing ()
 
def test_memoryview (method, args, fmt, expected_view)
 
def test_memoryview_from_buffer_empty_shape ()
 
def test_memoryview_from_memory ()
 
def test_memoryview_refcount (method)
 
def test_non_converting_constructors ()
 
def test_none (doc)
 
def test_number_protocol ()
 
def test_obj_class_name ()
 
def test_pass_bytes_or_unicode_to_string_types ()
 
def test_populate_dict_rvalue ()
 
def test_populate_obj_str_attrs ()
 
def test_print (capture)
 
def test_pybind11_str_raw_str ()
 
def test_set (capture, doc)
 
def test_simple_namespace ()
 
def test_str (doc)
 
def test_surrogate_pairs_unicode_error (func)
 
def test_test_memoryview_from_buffer_invalid_strides ()
 
def test_test_memoryview_from_buffer_nullptr ()
 
def test_tuple ()
 
def test_tuple_rvalue_getter ()
 
def test_unhashable_exceptions (arg, func)
 
def test_weakref (create_weakref, create_weakref_with_callback)
 
def test_weakref_err (create_weakref, has_callback)
 

Variables

 value
 

Function Documentation

◆ test_accessor_moves()

def test_pytypes.test_accessor_moves ( )

Definition at line 411 of file test_pytypes.py.

◆ test_accessors()

def test_pytypes.test_accessors ( )

Definition at line 372 of file test_pytypes.py.

◆ test_bool()

def test_pytypes.test_bool (   doc)

Definition at line 23 of file test_pytypes.py.

◆ test_builtin_functions()

def test_pytypes.test_builtin_functions ( )

Definition at line 666 of file test_pytypes.py.

◆ test_bytearray()

def test_pytypes.test_bytearray ( )

Definition at line 276 of file test_pytypes.py.

◆ test_bytes()

def test_pytypes.test_bytes (   doc)

Definition at line 267 of file test_pytypes.py.

◆ test_capsule()

def test_pytypes.test_capsule (   capture)

Definition at line 283 of file test_pytypes.py.

◆ test_constructors()

def test_pytypes.test_constructors ( )
C++ default and converting constructors are equivalent to type calls in Python

Definition at line 419 of file test_pytypes.py.

◆ test_cpp_iterators()

def test_pytypes.test_cpp_iterators ( )

Definition at line 767 of file test_pytypes.py.

◆ test_dict()

def test_pytypes.test_dict (   capture,
  doc 
)

Definition at line 152 of file test_pytypes.py.

◆ test_external_float_()

def test_pytypes.test_external_float_ ( )

Definition at line 794 of file test_pytypes.py.

◆ test_float()

def test_pytypes.test_float (   doc)

Definition at line 55 of file test_pytypes.py.

◆ test_from_iterable()

def test_pytypes.test_from_iterable (   pytype,
  from_iter_func 
)

Definition at line 44 of file test_pytypes.py.

◆ test_frozenset()

def test_pytypes.test_frozenset (   capture,
  doc 
)

Definition at line 127 of file test_pytypes.py.

◆ test_handle_from_move_only_type_with_operator_PyObject()

def test_pytypes.test_handle_from_move_only_type_with_operator_PyObject ( )

Definition at line 18 of file test_pytypes.py.

◆ test_hash()

def test_pytypes.test_hash ( )

Definition at line 556 of file test_pytypes.py.

◆ test_implementation_details()

def test_pytypes.test_implementation_details ( )

Definition at line 773 of file test_pytypes.py.

◆ test_implicit_casting()

def test_pytypes.test_implicit_casting ( )
Tests implicit casting when assigning or appending to dicts and lists.

Definition at line 511 of file test_pytypes.py.

◆ test_inplace_and()

def test_pytypes.test_inplace_and (   a,
  b 
)

Definition at line 884 of file test_pytypes.py.

◆ test_inplace_append()

def test_pytypes.test_inplace_append (   a,
  b 
)

Definition at line 830 of file test_pytypes.py.

◆ test_inplace_divide()

def test_pytypes.test_inplace_divide (   a,
  b 
)

Definition at line 850 of file test_pytypes.py.

◆ test_inplace_lshift()

def test_pytypes.test_inplace_lshift (   a,
  b 
)

Definition at line 890 of file test_pytypes.py.

◆ test_inplace_multiply()

def test_pytypes.test_inplace_multiply (   a,
  b 
)

Definition at line 844 of file test_pytypes.py.

◆ test_inplace_or()

def test_pytypes.test_inplace_or (   a,
  b 
)

Definition at line 867 of file test_pytypes.py.

◆ test_inplace_rshift()

def test_pytypes.test_inplace_rshift (   a,
  b 
)

Definition at line 896 of file test_pytypes.py.

◆ test_inplace_subtract()

def test_pytypes.test_inplace_subtract (   a,
  b 
)

Definition at line 838 of file test_pytypes.py.

◆ test_int()

def test_pytypes.test_int (   doc)

Definition at line 27 of file test_pytypes.py.

◆ test_isinstance_string_types()

def test_pytypes.test_isinstance_string_types ( )

Definition at line 676 of file test_pytypes.py.

◆ test_issue2361()

def test_pytypes.test_issue2361 ( )

Definition at line 599 of file test_pytypes.py.

◆ test_iterable()

def test_pytypes.test_iterable (   doc)

Definition at line 51 of file test_pytypes.py.

◆ test_iterator()

def test_pytypes.test_iterator (   doc)

Definition at line 31 of file test_pytypes.py.

◆ test_list()

def test_pytypes.test_list (   capture,
  doc 
)

Definition at line 59 of file test_pytypes.py.

◆ test_list_rvalue_getter()

def test_pytypes.test_list_rvalue_getter ( )

Definition at line 805 of file test_pytypes.py.

◆ test_list_slicing()

def test_pytypes.test_list_slicing ( )

Definition at line 594 of file test_pytypes.py.

◆ test_memoryview()

def test_pytypes.test_memoryview (   method,
  args,
  fmt,
  expected_view 
)

Definition at line 618 of file test_pytypes.py.

◆ test_memoryview_from_buffer_empty_shape()

def test_pytypes.test_memoryview_from_buffer_empty_shape ( )

Definition at line 642 of file test_pytypes.py.

◆ test_memoryview_from_memory()

def test_pytypes.test_memoryview_from_memory ( )

Definition at line 659 of file test_pytypes.py.

◆ test_memoryview_refcount()

def test_pytypes.test_memoryview_refcount (   method)

Definition at line 633 of file test_pytypes.py.

◆ test_non_converting_constructors()

def test_pytypes.test_non_converting_constructors ( )

Definition at line 456 of file test_pytypes.py.

◆ test_none()

def test_pytypes.test_none (   doc)

Definition at line 90 of file test_pytypes.py.

◆ test_number_protocol()

def test_pytypes.test_number_protocol ( )

Definition at line 572 of file test_pytypes.py.

◆ test_obj_class_name()

def test_pytypes.test_obj_class_name ( )

Definition at line 12 of file test_pytypes.py.

◆ test_pass_bytes_or_unicode_to_string_types()

def test_pytypes.test_pass_bytes_or_unicode_to_string_types ( )

Definition at line 687 of file test_pytypes.py.

◆ test_populate_dict_rvalue()

def test_pytypes.test_populate_dict_rvalue ( )

Definition at line 811 of file test_pytypes.py.

◆ test_populate_obj_str_attrs()

def test_pytypes.test_populate_obj_str_attrs ( )

Definition at line 817 of file test_pytypes.py.

◆ test_print()

def test_pytypes.test_print (   capture)

Definition at line 531 of file test_pytypes.py.

◆ test_pybind11_str_raw_str()

def test_pytypes.test_pybind11_str_raw_str ( )

Definition at line 473 of file test_pytypes.py.

◆ test_set()

def test_pytypes.test_set (   capture,
  doc 
)

Definition at line 95 of file test_pytypes.py.

◆ test_simple_namespace()

def test_pytypes.test_simple_namespace ( )

Definition at line 209 of file test_pytypes.py.

◆ test_str()

def test_pytypes.test_str (   doc)

Definition at line 217 of file test_pytypes.py.

◆ test_surrogate_pairs_unicode_error()

def test_pytypes.test_surrogate_pairs_unicode_error (   func)

Definition at line 261 of file test_pytypes.py.

◆ test_test_memoryview_from_buffer_invalid_strides()

def test_pytypes.test_test_memoryview_from_buffer_invalid_strides ( )

Definition at line 649 of file test_pytypes.py.

◆ test_test_memoryview_from_buffer_nullptr()

def test_pytypes.test_test_memoryview_from_buffer_nullptr ( )

Definition at line 654 of file test_pytypes.py.

◆ test_tuple()

def test_pytypes.test_tuple ( )

Definition at line 202 of file test_pytypes.py.

◆ test_tuple_rvalue_getter()

def test_pytypes.test_tuple_rvalue_getter ( )

Definition at line 799 of file test_pytypes.py.

◆ test_unhashable_exceptions()

def test_pytypes.test_unhashable_exceptions (   arg,
  func 
)

Definition at line 193 of file test_pytypes.py.

◆ test_weakref()

def test_pytypes.test_weakref (   create_weakref,
  create_weakref_with_callback 
)

Definition at line 717 of file test_pytypes.py.

◆ test_weakref_err()

def test_pytypes.test_weakref_err (   create_weakref,
  has_callback 
)

Definition at line 754 of file test_pytypes.py.

Variable Documentation

◆ value

test_pytypes.value

Definition at line 559 of file test_pytypes.py.



gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:14:38