Skip to content

Commit

Permalink
Fix tests/unit/utils/test_show_versions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thomass-dev committed Oct 15, 2024
1 parent 9fa2834 commit ca7347d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions skore/tests/unit/utils/test_show_versions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import os
import tempfile

from skore.utils._show_versions import _get_deps_info, _get_sys_info, show_versions


Expand Down Expand Up @@ -29,18 +26,3 @@ def test_show_versions(capfd):
assert "pip" in captured.out
assert "setuptools" in captured.out
assert "skore" in captured.out


def test_get_deps_in_any_working_directory(capfd):
cwd = os.getcwd()
with tempfile.TemporaryDirectory() as temp_dir:
os.chdir(temp_dir)
show_versions()
captured = capfd.readouterr()
assert "python" in captured.out
assert "executable" in captured.out
assert "machine" in captured.out
assert "pip" in captured.out
assert "setuptools" in captured.out
assert "skore" in captured.out
os.chdir(cwd)

0 comments on commit ca7347d

Please sign in to comment.