Commit 59022c2
committed
Mark async911.py as # NOCOMPILE for Python 3.10
Python 3.10's compile() rejects nested async comprehensions inside an
async function with "asynchronous comprehension outside of an asynchronous
function"; 3.11 became permissive here. The file parses fine with
ast.parse on every supported version, which is all the plugin needs,
so tag it with the existing # NOCOMPILE marker (also in the matching
autofix fixture to keep the diff clean).1 parent 4228b5c commit 59022c2
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
0 commit comments