Report generated on 25-Apr-2020 at 13:22:34

Environment

Platform Linux-4.15.0-1028-gcp-x86_64-with-debian-stretch-sid
Python 3.5.6

Summary

62 tests ran in 0.63 seconds.

(Un)check the boxes to filter the results.

62 passed 2 skipped 0 failed 0 errors 0 expected failures 0 unexpected passes 0 rerun

Results

Result Test Duration Links
Passed makefun/tests/test_advanced.py::test_non_representable_defaults 0.00
No log output captured.
Passed makefun/tests/test_advanced.py::test_preserve_attributes 0.00
No log output captured.
Passed makefun/tests/test_advanced.py::test_empty_name_in_string 0.00
No log output captured.
Passed makefun/tests/test_advanced.py::test_same_than_wraps_basic 0.00
No log output captured.
Passed makefun/tests/test_advanced.py::tests_wraps_sigchange 0.00
No log output captured.
Passed makefun/tests/test_advanced.py::test_qualname_when_nested 0.00
No log output captured.
Passed makefun/tests/test_advanced.py::test_type_hint_error 0.03
No log output captured.
Passed makefun/tests/test_advanced.py::test_type_hint_error2 0.00
No log output captured.
Passed makefun/tests/test_compile_deco.py::test_compilefun 0.01
No log output captured.
Passed makefun/tests/test_compile_deco.py::test_compilefun_nested 0.00
No log output captured.
Passed makefun/tests/test_compile_deco.py::test_compilefun_nested_already_compiled 0.00
No log output captured.
Passed makefun/tests/test_compile_deco.py::test_compilefun_nested_exclude[variant=all] 0.00
No log output captured.
Passed makefun/tests/test_compile_deco.py::test_compilefun_nested_exclude[variant=named] 0.00
No log output captured.
Passed makefun/tests/test_compile_deco.py::test_compilefun_co_names 0.00
No log output captured.
Passed makefun/tests/test_compile_deco.py::test_compilefun_nameerror 0.00
No log output captured.
Passed makefun/tests/test_compile_deco.py::test_compilefun_method 0.00
----------------------------- Captured stdout call -----------------------------
in A.meth1: par1 = via meth1
Passed makefun/tests/test_compile_deco.py::test_compileclass_decorator 0.00
No log output captured.
Passed makefun/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 makefun/tests/test_create_from_string.py::test_basic[type_hints=False-self_ref=True] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_basic[type_hints=False-self_ref=False] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_basic[type_hints=1-self_ref=True] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_basic[type_hints=1-self_ref=False] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_basic[type_hints=2-self_ref=True] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_basic[type_hints=2-self_ref=False] 0.00
No log output captured.
Skipped makefun/tests/test_create_from_string.py::test_type_comments::setup 0.00
('makefun/tests/test_create_from_string.py', 98, 'Skipped: This test is known to fail because inspect.signature does not detect comment type hints')
Passed makefun/tests/test_create_from_string.py::test_arguments[case_simple] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_arguments[case_simple_with_star] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_arguments[case_simple_with_star_args1] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_arguments[case_simple_with_star_args2] 0.00
No log output captured.
Passed makefun/tests/test_create_from_string.py::test_arguments[case_with_type_comments_and_newlines] 0.00
No log output captured.
Passed makefun/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 makefun/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 makefun/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 makefun/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 makefun/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 makefun/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 makefun/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 makefun/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 makefun/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 makefun/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 makefun/tests/test_doc.py::test_positional_only 0.00
No log output captured.
Passed makefun/tests/test_doc.py::test_with_signature 0.00
No log output captured.
Passed makefun/tests/test_doc.py::test_with_signature_none 0.00
No log output captured.
Passed makefun/tests/test_doc.py::test_wraps 0.00
No log output captured.
Passed makefun/tests/test_doc.py::test_wraps_functools 0.00
No log output captured.
Passed makefun/tests/test_generators_coroutines.py::test_generator 0.00
No log output captured.
Passed makefun/tests/test_generators_coroutines.py::test_generator_with_signature 0.00
No log output captured.
Passed makefun/tests/test_generators_coroutines.py::test_generator_based_coroutine 0.00
No log output captured.
Passed makefun/tests/test_generators_coroutines.py::test_native_coroutine 0.10
No log output captured.
Skipped makefun/tests/test_issues.py::test_wraps_varpositional::setup 0.00
('makefun/tests/test_issues.py', 7, 'Skipped: known to fail')
Passed makefun/tests/test_issues.py::test_varpositional2 0.00
No log output captured.
Passed makefun/tests/test_issues.py::test_invalid_signature_str 0.00
No log output captured.
Passed makefun/tests/test_issues.py::test_invalid_signature_str_py3 0.00
No log output captured.
Passed makefun/tests/test_issues.py::test_return_annotation_in_py2 0.00
No log output captured.
Passed makefun/tests/test_issues.py::test_init_replaced 0.00
No log output captured.
Passed makefun/tests/test_partial_and_macros.py::test_doc 0.00
----------------------------- Captured stdout call -----------------------------
Help on function bar in module makefun.tests.test_partial_and_macros: bar(y) <This function is equivalent to 'foo(y, x=12)', see original 'foo' doc below.> a `foo` function :param x: :param y: :return:
Passed makefun/tests/test_partial_and_macros.py::test_partial 0.00
----------------------------- Captured stdout call -----------------------------
hello 1 2 Help on function foo in module makefun.tests.test_partial_and_macros: foo(x, y) <This function is equivalent to 'foo(x, y, a=hello)', see original 'foo' doc below.> a `foo` function :param x: :param y: :param a: :return:
Passed makefun/tests/test_so.py::test_create_facades 0.00
No log output captured.
Passed makefun/tests/test_so.py::test_so_decorator 0.00
----------------------------- Captured stdout call -----------------------------
Help on function hello in module makefun.tests.test_so: hello() what?
Passed makefun/tests/test_so.py::test_so_facade 0.00
No log output captured.
Passed makefun/tests/test_so.py::test_so_sig_preserving 0.00
No log output captured.
Passed makefun/tests/test_so.py::test_sig_preserving_2 0.00
No log output captured.
Passed makefun/tests/test_so.py::test_so_partial 0.00
No log output captured.
Passed makefun/tests/test_so.py::test_so_partial2 0.00
No log output captured.