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_dict_annotations (doc)
 
def test_external_float_ ()
 
def test_float (doc)
 
def test_fn_annotations (doc)
 
def test_fn_return_only (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_iterable_annotations (doc)
 
def test_iterator (doc)
 
def test_iterator_annotations (doc)
 
def test_list (capture, doc)
 
def test_list_annotations (doc)
 
def test_list_rvalue_getter ()
 
def test_list_slicing ()
 
def test_literal (doc)
 
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_never_annotation (doc)
 
def test_no_return_annotation (doc)
 
def test_non_converting_constructors ()
 
def test_none (doc)
 
def test_number_protocol ()
 
def test_obj_class_name ()
 
def test_optional_annotations (doc)
 
def test_optional_object_annotations (doc)
 
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_set_annotations (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_empty_annotations (doc)
 
def test_tuple_nonempty_annotations (doc)
 
def test_tuple_rvalue_getter ()
 
def test_tuple_variable_length_annotations (doc)
 
def test_type_annotation (doc)
 
def test_type_guard_annotations (doc)
 
def test_type_is_annotations (doc)
 
def test_typevar (doc)
 
def test_unhashable_exceptions (arg, func)
 
def test_union_annotations (doc)
 
def test_union_object_annotations (doc)
 
def test_union_typing_only (doc)
 
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 415 of file test_pytypes.py.

◆ test_accessors()

def test_pytypes.test_accessors ( )

Definition at line 376 of file test_pytypes.py.

◆ test_bool()

def test_pytypes.test_bool (   doc)

Definition at line 25 of file test_pytypes.py.

◆ test_builtin_functions()

def test_pytypes.test_builtin_functions ( )

Definition at line 671 of file test_pytypes.py.

◆ test_bytearray()

def test_pytypes.test_bytearray ( )

Definition at line 280 of file test_pytypes.py.

◆ test_bytes()

def test_pytypes.test_bytes (   doc)

Definition at line 271 of file test_pytypes.py.

◆ test_capsule()

def test_pytypes.test_capsule (   capture)

Definition at line 287 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 423 of file test_pytypes.py.

◆ test_cpp_iterators()

def test_pytypes.test_cpp_iterators ( )

Definition at line 772 of file test_pytypes.py.

◆ test_dict()

def test_pytypes.test_dict (   capture,
  doc 
)

Definition at line 156 of file test_pytypes.py.

◆ test_dict_annotations()

def test_pytypes.test_dict_annotations (   doc)

Definition at line 926 of file test_pytypes.py.

◆ test_external_float_()

def test_pytypes.test_external_float_ ( )

Definition at line 799 of file test_pytypes.py.

◆ test_float()

def test_pytypes.test_float (   doc)

Definition at line 57 of file test_pytypes.py.

◆ test_fn_annotations()

def test_pytypes.test_fn_annotations (   doc)

Definition at line 955 of file test_pytypes.py.

◆ test_fn_return_only()

def test_pytypes.test_fn_return_only (   doc)

Definition at line 962 of file test_pytypes.py.

◆ test_from_iterable()

def test_pytypes.test_from_iterable (   pytype,
  from_iter_func 
)

Definition at line 46 of file test_pytypes.py.

◆ test_frozenset()

def test_pytypes.test_frozenset (   capture,
  doc 
)

Definition at line 131 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 20 of file test_pytypes.py.

◆ test_hash()

def test_pytypes.test_hash ( )

Definition at line 560 of file test_pytypes.py.

◆ test_implementation_details()

def test_pytypes.test_implementation_details ( )

Definition at line 778 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 515 of file test_pytypes.py.

◆ test_inplace_and()

def test_pytypes.test_inplace_and (   a,
  b 
)

Definition at line 889 of file test_pytypes.py.

◆ test_inplace_append()

def test_pytypes.test_inplace_append (   a,
  b 
)

Definition at line 835 of file test_pytypes.py.

◆ test_inplace_divide()

def test_pytypes.test_inplace_divide (   a,
  b 
)

Definition at line 855 of file test_pytypes.py.

◆ test_inplace_lshift()

def test_pytypes.test_inplace_lshift (   a,
  b 
)

Definition at line 895 of file test_pytypes.py.

◆ test_inplace_multiply()

def test_pytypes.test_inplace_multiply (   a,
  b 
)

Definition at line 849 of file test_pytypes.py.

◆ test_inplace_or()

def test_pytypes.test_inplace_or (   a,
  b 
)

Definition at line 872 of file test_pytypes.py.

◆ test_inplace_rshift()

def test_pytypes.test_inplace_rshift (   a,
  b 
)

Definition at line 901 of file test_pytypes.py.

◆ test_inplace_subtract()

def test_pytypes.test_inplace_subtract (   a,
  b 
)

Definition at line 843 of file test_pytypes.py.

◆ test_int()

def test_pytypes.test_int (   doc)

Definition at line 29 of file test_pytypes.py.

◆ test_isinstance_string_types()

def test_pytypes.test_isinstance_string_types ( )

Definition at line 681 of file test_pytypes.py.

◆ test_issue2361()

def test_pytypes.test_issue2361 ( )

Definition at line 603 of file test_pytypes.py.

◆ test_iterable()

def test_pytypes.test_iterable (   doc)

Definition at line 53 of file test_pytypes.py.

◆ test_iterable_annotations()

def test_pytypes.test_iterable_annotations (   doc)

Definition at line 941 of file test_pytypes.py.

◆ test_iterator()

def test_pytypes.test_iterator (   doc)

Definition at line 33 of file test_pytypes.py.

◆ test_iterator_annotations()

def test_pytypes.test_iterator_annotations (   doc)

Definition at line 948 of file test_pytypes.py.

◆ test_list()

def test_pytypes.test_list (   capture,
  doc 
)

Definition at line 61 of file test_pytypes.py.

◆ test_list_annotations()

def test_pytypes.test_list_annotations (   doc)

Definition at line 933 of file test_pytypes.py.

◆ test_list_rvalue_getter()

def test_pytypes.test_list_rvalue_getter ( )

Definition at line 810 of file test_pytypes.py.

◆ test_list_slicing()

def test_pytypes.test_list_slicing ( )

Definition at line 598 of file test_pytypes.py.

◆ test_literal()

def test_pytypes.test_literal (   doc)

Definition at line 1031 of file test_pytypes.py.

◆ test_memoryview()

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

Definition at line 622 of file test_pytypes.py.

◆ test_memoryview_from_buffer_empty_shape()

def test_pytypes.test_memoryview_from_buffer_empty_shape ( )

Definition at line 647 of file test_pytypes.py.

◆ test_memoryview_from_memory()

def test_pytypes.test_memoryview_from_memory ( )

Definition at line 664 of file test_pytypes.py.

◆ test_memoryview_refcount()

def test_pytypes.test_memoryview_refcount (   method)

Definition at line 637 of file test_pytypes.py.

◆ test_never_annotation()

def test_pytypes.test_never_annotation (   doc)

Definition at line 1016 of file test_pytypes.py.

◆ test_no_return_annotation()

def test_pytypes.test_no_return_annotation (   doc)

Definition at line 1012 of file test_pytypes.py.

◆ test_non_converting_constructors()

def test_pytypes.test_non_converting_constructors ( )

Definition at line 460 of file test_pytypes.py.

◆ test_none()

def test_pytypes.test_none (   doc)

Definition at line 94 of file test_pytypes.py.

◆ test_number_protocol()

def test_pytypes.test_number_protocol ( )

Definition at line 576 of file test_pytypes.py.

◆ test_obj_class_name()

def test_pytypes.test_obj_class_name ( )

Definition at line 14 of file test_pytypes.py.

◆ test_optional_annotations()

def test_pytypes.test_optional_annotations (   doc)

Definition at line 994 of file test_pytypes.py.

◆ test_optional_object_annotations()

def test_pytypes.test_optional_object_annotations (   doc)

Definition at line 1020 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 692 of file test_pytypes.py.

◆ test_populate_dict_rvalue()

def test_pytypes.test_populate_dict_rvalue ( )

Definition at line 816 of file test_pytypes.py.

◆ test_populate_obj_str_attrs()

def test_pytypes.test_populate_obj_str_attrs ( )

Definition at line 822 of file test_pytypes.py.

◆ test_print()

def test_pytypes.test_print (   capture)

Definition at line 535 of file test_pytypes.py.

◆ test_pybind11_str_raw_str()

def test_pytypes.test_pybind11_str_raw_str ( )

Definition at line 477 of file test_pytypes.py.

◆ test_set()

def test_pytypes.test_set (   capture,
  doc 
)

Definition at line 99 of file test_pytypes.py.

◆ test_set_annotations()

def test_pytypes.test_set_annotations (   doc)

Definition at line 937 of file test_pytypes.py.

◆ test_simple_namespace()

def test_pytypes.test_simple_namespace ( )

Definition at line 213 of file test_pytypes.py.

◆ test_str()

def test_pytypes.test_str (   doc)

Definition at line 221 of file test_pytypes.py.

◆ test_surrogate_pairs_unicode_error()

def test_pytypes.test_surrogate_pairs_unicode_error (   func)

Definition at line 265 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 654 of file test_pytypes.py.

◆ test_test_memoryview_from_buffer_nullptr()

def test_pytypes.test_test_memoryview_from_buffer_nullptr ( )

Definition at line 659 of file test_pytypes.py.

◆ test_tuple()

def test_pytypes.test_tuple ( )

Definition at line 206 of file test_pytypes.py.

◆ test_tuple_empty_annotations()

def test_pytypes.test_tuple_empty_annotations (   doc)

Definition at line 913 of file test_pytypes.py.

◆ test_tuple_nonempty_annotations()

def test_pytypes.test_tuple_nonempty_annotations (   doc)

Definition at line 906 of file test_pytypes.py.

◆ test_tuple_rvalue_getter()

def test_pytypes.test_tuple_rvalue_getter ( )

Definition at line 804 of file test_pytypes.py.

◆ test_tuple_variable_length_annotations()

def test_pytypes.test_tuple_variable_length_annotations (   doc)

Definition at line 919 of file test_pytypes.py.

◆ test_type_annotation()

def test_pytypes.test_type_annotation (   doc)

Definition at line 969 of file test_pytypes.py.

◆ test_type_guard_annotations()

def test_pytypes.test_type_guard_annotations (   doc)

Definition at line 1001 of file test_pytypes.py.

◆ test_type_is_annotations()

def test_pytypes.test_type_is_annotations (   doc)

Definition at line 1008 of file test_pytypes.py.

◆ test_typevar()

def test_pytypes.test_typevar (   doc)

Definition at line 1042 of file test_pytypes.py.

◆ test_unhashable_exceptions()

def test_pytypes.test_unhashable_exceptions (   arg,
  func 
)

Definition at line 197 of file test_pytypes.py.

◆ test_union_annotations()

def test_pytypes.test_union_annotations (   doc)

Definition at line 973 of file test_pytypes.py.

◆ test_union_object_annotations()

def test_pytypes.test_union_object_annotations (   doc)

Definition at line 987 of file test_pytypes.py.

◆ test_union_typing_only()

def test_pytypes.test_union_typing_only (   doc)

Definition at line 980 of file test_pytypes.py.

◆ test_weakref()

def test_pytypes.test_weakref (   create_weakref,
  create_weakref_with_callback 
)

Definition at line 722 of file test_pytypes.py.

◆ test_weakref_err()

def test_pytypes.test_weakref_err (   create_weakref,
  has_callback 
)

Definition at line 759 of file test_pytypes.py.

Variable Documentation

◆ value

test_pytypes.value

Definition at line 563 of file test_pytypes.py.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:16:53