class documentation

Unit tests for stub generation from C modules using introspection. Note that these don't cover a lot!

Method test_generate_c_function_other_module_arg Test that if argument references type from other module, module will be imported.
Method test_generate_c_function_other_module_ret Test that if return type references type from other module, module will be imported.
Method test_generate_c_function_same_module_arg Test that if argument references type from same module but using full path, no module will be imported, and type specification will be striped to local reference.
Method test_generate_c_function_same_module_ret Test that if return type references type from same module but using full path, no module will be imported, and type specification will be striped to local reference.
Method test_generate_c_property_with_pybind11 Signatures included by PyBind11 inside property.fget are read.
Method test_generate_c_property_with_rw_property Undocumented
Method test_generate_c_type_classmethod Undocumented
Method test_generate_c_type_classmethod_with_overloads Undocumented
Method test_generate_c_type_inheritance Undocumented
Method test_generate_c_type_inheritance_builtin_type Undocumented
Method test_generate_c_type_inheritance_other_module Undocumented
Method test_generate_c_type_inheritance_same_module Undocumented
Method test_generate_c_type_stub_no_crash_for_object Undocumented
Method test_generate_c_type_stub_variable_type_annotation Undocumented
Method test_generate_c_type_with_docstring Undocumented
Method test_generate_c_type_with_docstring_empty_default Undocumented
Method test_generate_c_type_with_docstring_no_self_arg Undocumented
Method test_generate_c_type_with_double_arg_generic Undocumented
Method test_generate_c_type_with_generic_using_other_module_first Undocumented
Method test_generate_c_type_with_generic_using_other_module_last Undocumented
Method test_generate_c_type_with_nested_generic Undocumented
Method test_generate_c_type_with_overload_pybind11 Undocumented
Method test_generate_c_type_with_single_arg_generic Undocumented
Method test_infer_binary_op_sig Undocumented
Method test_infer_getitem_sig Undocumented
Method test_infer_hash_sig Undocumented
Method test_infer_setitem_sig Undocumented
Method test_infer_unary_op_sig Undocumented
def test_generate_c_function_other_module_arg(self): (source)

Test that if argument references type from other module, module will be imported.

def test_generate_c_function_other_module_ret(self): (source)

Test that if return type references type from other module, module will be imported.

def test_generate_c_function_same_module_arg(self): (source)

Test that if argument references type from same module but using full path, no module will be imported, and type specification will be striped to local reference.

def test_generate_c_function_same_module_ret(self): (source)

Test that if return type references type from same module but using full path, no module will be imported, and type specification will be striped to local reference.

def test_generate_c_property_with_pybind11(self): (source)

Signatures included by PyBind11 inside property.fget are read.

def test_generate_c_property_with_rw_property(self): (source)

Undocumented

def test_generate_c_type_classmethod(self): (source)

Undocumented

def test_generate_c_type_classmethod_with_overloads(self): (source)

Undocumented

def test_generate_c_type_inheritance(self): (source)

Undocumented

def test_generate_c_type_inheritance_builtin_type(self): (source)

Undocumented

def test_generate_c_type_inheritance_other_module(self): (source)

Undocumented

def test_generate_c_type_inheritance_same_module(self): (source)

Undocumented

def test_generate_c_type_stub_no_crash_for_object(self): (source)

Undocumented

def test_generate_c_type_stub_variable_type_annotation(self): (source)

Undocumented

def test_generate_c_type_with_docstring(self): (source)

Undocumented

def test_generate_c_type_with_docstring_empty_default(self): (source)

Undocumented

def test_generate_c_type_with_docstring_no_self_arg(self): (source)

Undocumented

def test_generate_c_type_with_double_arg_generic(self): (source)

Undocumented

def test_generate_c_type_with_generic_using_other_module_first(self): (source)

Undocumented

def test_generate_c_type_with_generic_using_other_module_last(self): (source)

Undocumented

def test_generate_c_type_with_nested_generic(self): (source)

Undocumented

def test_generate_c_type_with_overload_pybind11(self): (source)

Undocumented

def test_generate_c_type_with_single_arg_generic(self): (source)

Undocumented

def test_infer_binary_op_sig(self): (source)

Undocumented

def test_infer_getitem_sig(self): (source)

Undocumented

def test_infer_hash_sig(self): (source)

Undocumented

def test_infer_setitem_sig(self): (source)

Undocumented

def test_infer_unary_op_sig(self): (source)

Undocumented