Skip to content

Commit 3a3b128

Browse files
committed
FutureWarning
1 parent 642a011 commit 3a3b128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distributed/diagnostics/tests/test_scheduler_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ async def start(self, scheduler):
117117
s.add_plugin(plugin)
118118
s.add_plugin(plugin, name="another")
119119
with pytest.raises(ValueError) as excinfo:
120-
with pytest.warns(UserWarning, match="Removing scheduler plugins by value"):
120+
with pytest.warns(FutureWarning, match="Removing scheduler plugins by value"):
121121
s.remove_plugin(plugin)
122122

123123
msg = str(excinfo.value)

0 commit comments

Comments
 (0)