From 36c64c66db258690265a9c0c7a2a4cb9f63fabd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Redzy=C5=84ski?= Date: Thu, 16 Jan 2020 11:09:35 +0100 Subject: [PATCH] test_get_from_non_dvc_master: add comment about git logs --- tests/func/test_get.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/func/test_get.py b/tests/func/test_get.py index d7b272e26..c6bd1adaa 100644 --- a/tests/func/test_get.py +++ b/tests/func/test_get.py @@ -174,8 +174,11 @@ def test_get_from_non_dvc_master(tmp_dir, erepo_dir, caplog): caplog.clear() dst = "file_imported" - with caplog.at_level(logging.INFO, logger="dvc"), caplog.at_level( - logging.INFO, logger="git" + + # removing `git` import in conftest resulted in unexpected logs from + # that package, see https://github.com/iterative/dvc/issues/3167 + with caplog.at_level(logging.INFO, logger="git"), caplog.at_level( + logging.INFO, logger="dvc" ): Repo.get(fspath(erepo_dir), "some_file", out=dst, rev="branch")