summaryrefslogtreecommitdiff
path: root/tests/test_arcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r--tests/test_arcs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 349a560f..817943e9 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -1835,7 +1835,7 @@ class AsyncTest(CoverageTest):
import asyncio
async def compute(x, y): # 3
- print("Compute %s + %s ..." % (x, y))
+ print(f"Compute {x} + {y} ...")
await asyncio.sleep(0.001)
return x + y # 6
@@ -1843,7 +1843,7 @@ class AsyncTest(CoverageTest):
result = (0 +
await compute(x, y) # A
)
- print("%s + %s = %s" % (x, y, result))
+ print(f"{x} + {y} = {result}")
loop = asyncio.new_event_loop() # E
loop.run_until_complete(print_sum(1, 2))