(self)
| 970 | ) |
| 971 | |
| 972 | def test_format_args(self) -> None: |
| 973 | def function1(): |
| 974 | pass |
| 975 | |
| 976 | assert _format_args(function1) == "()" |
| 977 | |
| 978 | def function2(arg1): |
| 979 | pass |
| 980 | |
| 981 | assert _format_args(function2) == "(arg1)" |
| 982 | |
| 983 | def function3(arg1, arg2="qwe"): |
| 984 | pass |
| 985 | |
| 986 | assert _format_args(function3) == "(arg1, arg2='qwe')" |
| 987 | |
| 988 | def function4(arg1, *args, **kwargs): |
| 989 | pass |
| 990 | |
| 991 | assert _format_args(function4) == "(arg1, *args, **kwargs)" |
| 992 | |
| 993 | |
| 994 | class TestMetafuncFunctional: |
nothing calls this directly
no test coverage detected