()
| 461 | |
| 462 | |
| 463 | def test_funcname_multipledispatch(): |
| 464 | md = pytest.importorskip("multipledispatch") |
| 465 | |
| 466 | @md.dispatch(int, int, int) |
| 467 | def foo(a, b, c): |
| 468 | pass |
| 469 | |
| 470 | assert funcname(foo) == "foo" |
| 471 | assert funcname(functools.partial(foo, a=1)) == "foo" |
| 472 | |
| 473 | |
| 474 | def test_funcname_numpy_vectorize(): |
nothing calls this directly
no test coverage detected