Skip to content

Commit a9a4476

Browse files
author
James Souter
committed
pyright
1 parent 6536a48 commit a9a4476

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/transport/epics/ca/test_initial_value.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ async def test_initial_values_set_in_ca(mocker):
6161

6262
record_spy = mocker.spy(ca_ioc, "_make_record")
6363

64+
task = asyncio.create_task(fastcs.serve(interactive=False))
6465
try:
65-
task = asyncio.create_task(fastcs.serve(interactive=False))
66-
6766
async with asyncio.timeout(3):
6867
while not record_spy.spy_return_list:
6968
await asyncio.sleep(0)

0 commit comments

Comments
 (0)