()
| 38 | |
| 39 | |
| 40 | def test_source_base(): |
| 41 | source = Source(matmul) |
| 42 | assert ( |
| 43 | source.source_name == inspect.getsourcefile(matmul) |
| 44 | and source.start_line is not None |
| 45 | and source.start_column == 0 |
| 46 | and source.source == inspect.getsource(matmul) |
| 47 | and source.full_source == inspect.getsource(inspect.getmodule(matmul)) |
| 48 | ) |
| 49 | |
| 50 | |
| 51 | def test_source_ast(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…