diff --git a/tests/core/test_flyer.py b/tests/core/test_flyer.py index ba570c5e2..c7345ee03 100644 --- a/tests/core/test_flyer.py +++ b/tests/core/test_flyer.py @@ -259,7 +259,6 @@ def flying_plan(): wait=True, ) - yield from bps.open_run() yield from bps.declare_stream(*detectors, name="main_stream", collect=True) @@ -296,11 +295,12 @@ def flying_plan(): yield from bps.unstage_all(flyer, *detectors) # fly scan - with pytest.raises(Exception, match="Kickoff called more than the configured number"): + with pytest.raises( + Exception, match="Kickoff called more than the configured number" + ): RE(flying_plan()) - # To do: Populate configuration signals async def test_describe_configuration(): flyer = StandardFlyer(DummyTriggerLogic(), [], name="flyer")