Skip to content

Commit a78159e

Browse files
format fix
1 parent 6221e0c commit a78159e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tests/examples_check.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def test_z_advanced_pub_z_advanced_sub():
363363
## Run z_advanced_pub and z_advanced_sub
364364
## z_advanced_pub: Start publishing messages
365365
pub = Pyrun("z_advanced_pub.py", ["--history=10"])
366-
time.sleep(5) # wait 5 seconds to ensure that we miss few messages
366+
time.sleep(5) # wait 5 seconds to ensure that we miss few messages
367367
sub = Pyrun("z_advanced_sub.py", [])
368368
time.sleep(5)
369369

@@ -377,10 +377,12 @@ def test_z_advanced_pub_z_advanced_sub():
377377
sub_out = "".join(sub.stdout)
378378
for i in range(0, 8):
379379
if not (
380-
F"Received SampleKind.PUT ('demo/example/zenoh-python-pub': '[ {i}] Pub from Python!')"
380+
f"Received SampleKind.PUT ('demo/example/zenoh-python-pub': '[ {i}] Pub from Python!')"
381381
in sub_out
382382
):
383-
sub.errors.append(F"z_advanced_sub didn't catch the {i}-th z_advanced_pub message")
383+
sub.errors.append(
384+
f"z_advanced_sub didn't catch the {i}-th z_advanced_pub message"
385+
)
384386

385387
assert not pub.errors
386-
assert not sub.errors
388+
assert not sub.errors

0 commit comments

Comments
 (0)