diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-30 06:41:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-30 06:41:24 +0000 |
commit | fa5ef2f7043154e9abd97282e0c876539b5b1bb0 (patch) | |
tree | 2ac7c3546a5158f101fe6c18261fbd3df33b6343 /tests/conftest.py | |
parent | Releasing progress-linux version 2.9.3-1. (diff) | |
download | pre-commit-fa5ef2f7043154e9abd97282e0c876539b5b1bb0.tar.xz pre-commit-fa5ef2f7043154e9abd97282e0c876539b5b1bb0.zip |
Merging upstream version 2.10.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/conftest.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 335d261..b36ce5a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -261,15 +261,6 @@ def cap_out(): yield Fixture(stream) -@pytest.fixture -def fake_log_handler(): - handler = mock.Mock(level=logging.INFO) - logger = logging.getLogger('pre_commit') - logger.addHandler(handler) - yield handler - logger.removeHandler(handler) - - @pytest.fixture(scope='session', autouse=True) def set_git_templatedir(tmpdir_factory): tdir = str(tmpdir_factory.mktemp('git_template_dir')) |