Skip to content

Commit

Permalink
swap order
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Aug 26, 2021
1 parent 3a3b128 commit 060ac98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/diagnostics/tests/test_scheduler_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ async def start(self, scheduler):
plugin = UnnamedPlugin()
s.add_plugin(plugin)
s.add_plugin(plugin, name="another")
with pytest.raises(ValueError) as excinfo:
with pytest.warns(FutureWarning, match="Removing scheduler plugins by value"):
with pytest.warns(FutureWarning, match="Removing scheduler plugins by value"):
with pytest.raises(ValueError) as excinfo:
s.remove_plugin(plugin)

msg = str(excinfo.value)
Expand Down

0 comments on commit 060ac98

Please sign in to comment.