Skip to content

Commit 071939f

Browse files
committed
Fix file formatting
1 parent a48dc3c commit 071939f

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

tests/test_timestamp_stack.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
from zenoh import (
1919
InterceptionPoint,
2020
Sample,
21+
TimestampContext,
2122
TimestampInstrumentation,
2223
TimestampInstrumentationBuilder,
2324
TimestampStack,
24-
TimestampContext,
2525
)
2626

2727
SLEEP = 1
@@ -283,12 +283,7 @@ def test_timestamp_callback():
283283
custom_timestamp = b"\xde\xad\xbe\xef"
284284

285285
def timestamp_callback(ctx: TimestampContext):
286-
contexts.append(
287-
{
288-
"zid": str(ctx.zid),
289-
"whatami": ctx.whatami,
290-
}
291-
)
286+
contexts.append({"zid": str(ctx.zid), "whatami": ctx.whatami})
292287
return custom_timestamp
293288

294289
conf = zenoh.Config()

0 commit comments

Comments
 (0)