1import io
2
3import xarray
4
5
6def test_show_versions() -> None:
7    f = io.StringIO()
8    xarray.show_versions(file=f)
9    assert "INSTALLED VERSIONS" in f.getvalue()
10