(fixtures)
| 8 | |
| 9 | |
| 10 | def test_basic_ast(fixtures): |
| 11 | pth = fixtures.path('basic_ast.py') |
| 12 | |
| 13 | with Path(pth).open('r') as fd: |
| 14 | data = fixtures.get_raw_ast(fd.read()) |
| 15 | |
| 16 | assert isinstance(data, list) |
| 17 | assert len(data) == 9 # Top level lines with python code |
| 18 | |
| 19 | |
| 20 | def test_py2k(fixtures): |
nothing calls this directly
no test coverage detected