File: test_print_versions.py

package info (click to toggle)
python-xarray 0.16.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,568 kB
  • sloc: python: 60,570; makefile: 236; sh: 38
file content (9 lines) | stat: -rw-r--r-- 156 bytes parent folder | download
1
2
3
4
5
6
7
8
9
import io

import xarray


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