From 4f2de7a3ef26e26089626ded498e304df328591f Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 18 Jan 2021 13:50:21 +0200 Subject: [PATCH] tests: remove psutil checks (#5283) Leftover from https://github.com/iterative/dvc/pull/5232 --- tests/unit/test_info.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/unit/test_info.py b/tests/unit/test_info.py index f887b8a3c..64a702fd0 100644 --- a/tests/unit/test_info.py +++ b/tests/unit/test_info.py @@ -4,7 +4,7 @@ import shutil import pytest -from dvc.info import get_dvc_info, psutil +from dvc.info import get_dvc_info # Python's version is in the shape of: # ..[{a|b|rc}N][.postN][.devN] @@ -85,7 +85,6 @@ def test_remotes(tmp_dir, dvc, caplog): assert re.search("Remotes: (ssh, azure|azure, ssh)", dvc_info) -@pytest.mark.skipif(psutil is None, reason="No psutil.") def test_fs_info_in_repo(tmp_dir, dvc, caplog): os.mkdir(dvc.cache.local.cache_dir) dvc_info = get_dvc_info() @@ -104,7 +103,6 @@ def test_info_outside_of_repo(tmp_dir, caplog): assert "Repo:" not in dvc_info -@pytest.mark.skipif(psutil is None, reason="No psutil.") def test_fs_info_outside_of_repo(tmp_dir, caplog): dvc_info = get_dvc_info() assert re.search(r"DVC version: \d+\.\d+\.\d+.*", dvc_info)