Skip to content

Commit 8f04901

Browse files
committed
tests/extmod/asyncio_iterator_event.py: Use format instead of f-string.
Some targets don't have f-strings enabled. Signed-off-by: Damien George <damien@micropython.org>
1 parent 35f15cf commit 8f04901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/extmod/asyncio_iterator_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def schedule_watchdog(end_ticks):
5050
async def test(ai):
5151
for x in range(3):
5252
await asyncio.sleep(0.1)
53-
ai.fetch_data(f"bar {x}")
53+
ai.fetch_data("bar {x}".format(x))
5454

5555

5656
class AsyncIterable:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy