()
| 80 | |
| 81 | |
| 82 | def test_find_file_decorated2(): |
| 83 | |
| 84 | @decorator |
| 85 | def noop2(f, *a, **kw): |
| 86 | return f(*a, **kw) |
| 87 | |
| 88 | @noop2 |
| 89 | @noop2 |
| 90 | @noop2 |
| 91 | def f(x): |
| 92 | "My docstring 2" |
| 93 | |
| 94 | match_pyfiles(oinspect.find_file(f), os.path.abspath(__file__)) |
| 95 | nt.assert_equal(f.__doc__, "My docstring 2") |
| 96 | |
| 97 | |
| 98 | def test_find_file_magic(): |
nothing calls this directly
no test coverage detected