mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Each set of additional dependencies gets its own env
This commit is contained in:
parent
29715c9268
commit
b827694520
5 changed files with 62 additions and 112 deletions
|
|
@ -165,12 +165,6 @@ def log_info_mock():
|
|||
yield mck
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def log_warning_mock():
|
||||
with mock.patch.object(logging.getLogger('pre_commit'), 'warning') as mck:
|
||||
yield mck
|
||||
|
||||
|
||||
class FakeStream(object):
|
||||
def __init__(self):
|
||||
self.data = io.BytesIO()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue