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