File: test_print_versions.py

package info (click to toggle)
python-xarray 2025.08.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,796 kB
  • sloc: python: 115,416; makefile: 258; sh: 47
file content (11 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
from __future__ import annotations

import io

import xarray


def test_show_versions() -> None:
    f = io.StringIO()
    xarray.show_versions(file=f)
    assert "INSTALLED VERSIONS" in f.getvalue()