Report generated on 26-Sep-2024 at 12:39:55 by pytest-html v3.2.0
96 tests ran in 0.94 seconds.
(Un)check the boxes to filter the results.
96 passed, 1 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Skipped | tests/test_create_from_string.py::test_type_comments | 0.00 | |
('/home/runner/work/python-makefun/python-makefun/tests/test_create_from_string.py', 97, 'Skipped: This test is known to fail because inspect.signature does not detect comment type hints') | |||
Passed | tests/test_advanced.py::test_non_representable_defaults | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_preserve_attributes | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_empty_name_in_string | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_same_than_wraps_basic | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::tests_wraps_sigchange | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::tests_wraps_lambda | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::tests_wraps_renamed_lambda | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_lambda_signature_str | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_co_name | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_with_signature_lambda | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_create_wrapper_lambda | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_invalid_co_name | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_invalid_func_name | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_qualname_when_nested | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_type_hint_error | 0.01 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_type_hint_error2 | 0.00 | |
No log output captured. | |||
Passed | tests/test_advanced.py::test_type_hint_error_sigchange | 0.00 | |
No log output captured. | |||
Passed | tests/test_compile_deco.py::test_compilefun | 0.00 | |
No log output captured. | |||
Passed | tests/test_compile_deco.py::test_compilefun_nested | 0.00 | |
No log output captured. | |||
Passed | tests/test_compile_deco.py::test_compilefun_nested_already_compiled | 0.00 | |
No log output captured. | |||
Passed | tests/test_compile_deco.py::test_compilefun_nested_exclude[variant=all] | 0.00 | |
No log output captured. | |||
Passed | tests/test_compile_deco.py::test_compilefun_nested_exclude[variant=named] | 0.00 | |
No log output captured. | |||
Passed | tests/test_compile_deco.py::test_compilefun_co_names | 0.00 | |
No log output captured. | |||
Passed | tests/test_compile_deco.py::test_compilefun_nameerror | 0.00 | |
No log output captured. | |||
Passed | tests/test_compile_deco.py::test_compilefun_method | 0.00 | |
------------------------------Captured stdout call------------------------------ in A.meth1: par1 = via meth1 | |||
Passed | tests/test_compile_deco.py::test_compileclass_decorator | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_signature.py::test_positional_only | 0.00 | |
------------------------------Captured stderr call------------------------------ Error in generated code: def foo(a, /, *args, **kwargs): return _func_impl_(a, *args, **kwargs) | |||
Passed | tests/test_create_from_string.py::test_basic[type_hints=False-self_ref=True] | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::test_basic[type_hints=False-self_ref=False] | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::test_basic[type_hints=1-self_ref=True] | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::test_basic[type_hints=1-self_ref=False] | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::test_basic[type_hints=2-self_ref=True] | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::test_basic[type_hints=2-self_ref=False] | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::TestArguments::test_case_simple | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::TestArguments::test_case_simple_with_star | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::TestArguments::test_case_simple_with_star_args1 | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::TestArguments::test_case_simple_with_star_args2 | 0.00 | |
No log output captured. | |||
Passed | tests/test_create_from_string.py::TestArguments::test_case_with_type_comments_and_newlines | 0.00 | |
No log output captured. | |||
Passed | tests/test_doc.py::test_ex_nihilo[type=str-decorator=False] | 0.00 | |
------------------------------Captured stdout call------------------------------ Generated Source : def foo(b, a=0): return _func_impl_(b=b, a=a) func_impl called ! | |||
Passed | tests/test_doc.py::test_ex_nihilo[type=str-decorator=True] | 0.00 | |
------------------------------Captured stdout call------------------------------ Generated Source : def foo(b, a=0): return _func_impl_(b=b, a=a) func_impl called ! | |||
Passed | tests/test_doc.py::test_ex_nihilo[type=Signature-decorator=False] | 0.00 | |
------------------------------Captured stdout call------------------------------ Generated Source : def foo(b, a=0): return _func_impl_(b=b, a=a) func_impl called ! | |||
Passed | tests/test_doc.py::test_ex_nihilo[type=Signature-decorator=True] | 0.00 | |
------------------------------Captured stdout call------------------------------ Generated Source : def foo(b, a=0): return _func_impl_(b=b, a=a) func_impl called ! | |||
Passed | tests/test_doc.py::test_ex_nihilo_kw_only | 0.00 | |
------------------------------Captured stdout call------------------------------ def foo(b, *, a=0, **kwargs): return _func_impl_(b=b, a=a, **kwargs) | |||
Passed | tests/test_doc.py::test_from_sig_wrapper[use_decorator=False] | 0.00 | |
------------------------------Captured stdout call------------------------------ Original Signature: (b, a=0) New Signature: (z, b, a=0) Generated Source : def foo(z, b, a=0): return _func_impl_(z=z, b=b, a=a) func_impl called ! z=3 foo called: b=2, a=0 | |||
Passed | tests/test_doc.py::test_from_sig_wrapper[use_decorator=True] | 0.00 | |
------------------------------Captured stdout call------------------------------ Original Signature: (b, a=0) New Signature: (z, b, a=0) Generated Source : def foo(z, b, a=0): return _func_impl_(z=z, b=b, a=a) func_impl called ! z=3 foo called: b=2, a=0 | |||
Passed | tests/test_doc.py::test_helper_functions | 0.00 | |
------------------------------Captured stdout call------------------------------ original signature: (b, c, a=0) modified signature: (z, c, o=True) | |||
Passed | tests/test_doc.py::test_injection | 0.00 | |
------------------------------Captured stdout call------------------------------ This is generic handler called by func1 called from func1 ! This is generic handler called by func2 | |||
Passed | tests/test_doc.py::test_var_length | 0.00 | |
------------------------------Captured stdout call------------------------------ def foo(a, b=0, *args, **kwargs): return _func_impl_(a, b, *args, **kwargs) func_impl called ! func_impl called ! func_impl called ! def foo(b=0, *args, **kwargs): return _func_impl_(b, *args, **kwargs) func_impl called ! func_impl called ! | |||
Passed | tests/test_doc.py::test_positional_only | 0.00 | |
No log output captured. | |||
Passed | tests/test_doc.py::test_with_signature | 0.00 | |
No log output captured. | |||
Passed | tests/test_doc.py::test_with_signature_none | 0.00 | |
No log output captured. | |||
Passed | tests/test_doc.py::test_wraps | 0.00 | |
No log output captured. | |||
Passed | tests/test_doc.py::test_wraps_functools | 0.00 | |
No log output captured. | |||
Passed | tests/test_doc.py::test_wraps_remove | 0.00 | |
No log output captured. | |||
Passed | tests/test_doc.py::test_wraps_add_doc | 0.00 | |
------------------------------Captured stdout call------------------------------ foo_wrapper called ! z=3 foo called: b=2, a=0 | |||
Passed | tests/test_doc.py::test_wraps_add[prepend=True] | 0.00 | |
No log output captured. | |||
Passed | tests/test_doc.py::test_wraps_add[prepend=False] | 0.00 | |
No log output captured. | |||
Passed | tests/test_generators_coroutines.py::test_generator | 0.00 | |
No log output captured. | |||
Passed | tests/test_generators_coroutines.py::test_generator_with_signature | 0.00 | |
No log output captured. | |||
Passed | tests/test_generators_coroutines.py::test_generator_based_coroutine | 0.00 | |
No log output captured. | |||
Passed | tests/test_generators_coroutines.py::test_native_coroutine | 0.10 | |
No log output captured. | |||
Passed | tests/test_generators_coroutines.py::test_issue_96 | 0.10 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_wraps_varpositional_issue_34 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_varpositional2 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_invalid_signature_str | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_invalid_signature_str_py3 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_return_annotation_in_py2 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_init_replaced | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_55 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_partial_noargs | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_wraps_dict | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_62 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_63 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_66 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_pr_67 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_76 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_77_async_generator_wraps | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_77_async_generator_partial | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_85_wrapped_forwardref_annotation | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_91 | 0.00 | |
No log output captured. | |||
Passed | tests/test_issues.py::test_issue_98 | 0.00 | |
No log output captured. | |||
Passed | tests/test_partial_and_macros.py::test_doc | 0.10 | |
------------------------------Captured stdout call------------------------------ Help on function bar in module tests.test_partial_and_macros: bar(*, x=12, y) <This function is equivalent to 'foo(x=12, y)', see original 'foo' doc below.> a `foo` function :param x: :param y: :return: | |||
Passed | tests/test_partial_and_macros.py::test_partial | 0.00 | |
------------------------------Captured stdout call------------------------------ 2 1 hello Help on function foo in module tests.test_partial_and_macros: foo(x, *, y='hello', a) <This function is equivalent to 'foo(x, y='hello', a)', see original 'foo' doc below.> a `foo` function :param x: :param y: :param a: :return: | |||
Passed | tests/test_partial_and_macros.py::test_issue_57 | 0.00 | |
No log output captured. | |||
Passed | tests/test_partial_and_macros.py::test_create_with_partial | 0.00 | |
No log output captured. | |||
Passed | tests/test_partial_and_macros.py::test_args_order_and_kind | 0.00 | |
No log output captured. | |||
Passed | tests/test_partial_and_macros.py::test_simple_partial_copy[False] | 0.00 | |
No log output captured. | |||
Passed | tests/test_partial_and_macros.py::test_simple_partial_copy[True] | 0.00 | |
No log output captured. | |||
Passed | tests/test_so.py::test_create_facades | 0.00 | |
No log output captured. | |||
Passed | tests/test_so.py::test_so_decorator | 0.00 | |
------------------------------Captured stdout call------------------------------ Help on function hello in module tests.test_so: hello() what? | |||
Passed | tests/test_so.py::test_so_facade | 0.00 | |
No log output captured. | |||
Passed | tests/test_so.py::test_so_sig_preserving | 0.00 | |
No log output captured. | |||
Passed | tests/test_so.py::test_sig_preserving_2 | 0.00 | |
No log output captured. | |||
Passed | tests/test_so.py::test_so_partial | 0.00 | |
No log output captured. | |||
Passed | tests/test_so.py::test_so_partial2 | 0.00 | |
No log output captured. | |||
Passed | tests/test_so.py::test_so_partial_posargs | 0.00 | |
No log output captured. |