diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-07-29 10:54:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-29 10:54:37 -0700 |
| commit | 61d1148bb36a022d089af6a4bfb05b96e819d3db (patch) | |
| tree | e5ebe1eb1e8b089a5a5850c2f6f44c5b2c9be50c /tests/basics/async_for.py | |
| parent | 5e86262694d0332f3cb2c9ae67fbf4c70a99ff12 (diff) | |
| parent | 901f3dce6e5e7c1501550ca0b7f3283848194a2e (diff) | |
Merge pull request #3222 from WarriorOfWire/pick_micropython
py/compile: Don't await __aiter__ special method in async-for.
Diffstat (limited to 'tests/basics/async_for.py')
| -rw-r--r-- | tests/basics/async_for.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/async_for.py b/tests/basics/async_for.py index 6b4e136d5..5fd054082 100644 --- a/tests/basics/async_for.py +++ b/tests/basics/async_for.py @@ -6,7 +6,7 @@ class AsyncIteratorWrapper: print('init') self._it = iter(obj) - async def __aiter__(self): + def __aiter__(self): print('aiter') return self |
