diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-14 10:57:00 +0100 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-14 10:57:00 +0100 |
| commit | b950709beafbfe3a20b95b4cd978fb50db3e8eb8 (patch) | |
| tree | 1afde36f5b50bfffc75503bc72c538f3808b0f53 /tests/basics/async_with2.py | |
| parent | 18c299b13dd568669176fb1c713c79dfb4890bbe (diff) | |
Fix tests that rely on sys.implementation.name to work with circutpython response.
Diffstat (limited to 'tests/basics/async_with2.py')
| -rw-r--r-- | tests/basics/async_with2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/async_with2.py b/tests/basics/async_with2.py index 44421ae91..5fb06ba60 100644 --- a/tests/basics/async_with2.py +++ b/tests/basics/async_with2.py @@ -1,7 +1,7 @@ # test waiting within async with enter/exit functions import sys -if sys.implementation.name == 'micropython': +if sys.implementation.name in ('micropython', 'circuitpython'): # uPy allows normal generators to be awaitables coroutine = lambda f: f else: |
