()
| 123 | |
| 124 | |
| 125 | async def main(): |
| 126 | SCOPED_STEPPING_TARGET = os.getenv('SCOPED_STEPPING_TARGET', '_debugger_case_scoped_stepping_target.py') |
| 127 | filename = os.path.join(os.path.dirname(__file__), SCOPED_STEPPING_TARGET) |
| 128 | assert os.path.exists(filename), '%s does not exist.' % (filename,) |
| 129 | with open(filename, 'r') as stream: |
| 130 | source = stream.read() |
| 131 | code_ast = compile( |
| 132 | source, |
| 133 | filename, |
| 134 | 'exec', |
| 135 | PyCF_DONT_IMPLY_DEDENT | PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT, |
| 136 | 1) |
| 137 | |
| 138 | runner = Runner() |
| 139 | await runner.run_ast_nodes(code_ast.body, filename) |
| 140 | |
| 141 | |
| 142 | if __name__ == '__main__': |
no test coverage detected