Skip to content

Commit

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

msg = str(excinfo.value)
Expand Down

0 comments on commit 3a3b128

Please sign in to comment.