Skip to content

Commit bb7c989

Browse files
Update assert_emitted to use Mapping (#1101)
1 parent 7cb87b4 commit bb7c989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ophyd_async/testing/_assert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async def assert_describe_signal(signal: SignalR, /, **metadata):
132132
assert actual_datakey == expected_datakey
133133

134134

135-
def assert_emitted(docs: dict[str, list[dict]], **numbers: int):
135+
def assert_emitted(docs: Mapping[str, list[dict]], **numbers: int):
136136
"""Assert emitted document generated by running a Bluesky plan.
137137
138138
:param docs: A mapping of document type -> list of documents that have been emitted.

0 commit comments

Comments
 (0)