We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c8ab0 commit 9ccf338Copy full SHA for 9ccf338
tests/test_device_manager.py
@@ -2,6 +2,7 @@
2
3
import pytest
4
from ophyd.device import Device as OphydV1Device
5
+from ophyd_async.core import Device
6
from ophyd_async.core import Device as OphydV2Device
7
from ophyd_async.sim import SimMotor
8
from pytest import RaisesExc, RaisesGroup
@@ -420,7 +421,7 @@ def test_kwargs_factory(dm: DeviceManager):
420
421
422
# Factories can have kwargs but they're ignored by the device manager
423
@dm.factory
- def foo(**kwargs):
424
+ def foo(**kwargs) -> Device: # type: ignore
425
s1(**kwargs)
426
427
dm.build_all(s1)
0 commit comments