MCPcopy Index your code
hub / github.com/pydata/xarray / test_warns_for_few_positional_args

Method test_warns_for_few_positional_args

xarray/tests/test_plot.py:837–839  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

835 assert "d = [10.009]" == title
836
837 def test_warns_for_few_positional_args(self) -> None:
838 with pytest.warns(FutureWarning, match="Using positional arguments"):
839 self.darray.plot.scatter("period")
840
841 def test_raises_for_too_many_positional_args(self) -> None:
842 with pytest.raises(ValueError, match="Using positional arguments"):

Callers

nothing calls this directly

Calls 1

scatterMethod · 0.45

Tested by

no test coverage detected