mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Remove plumbum
This commit is contained in:
parent
5d9ba14841
commit
bbd2572b11
24 changed files with 236 additions and 203 deletions
|
|
@ -4,9 +4,9 @@ from __future__ import unicode_literals
|
|||
import argparse
|
||||
import mock
|
||||
import pytest
|
||||
from plumbum import local
|
||||
|
||||
from pre_commit import main
|
||||
from pre_commit.util import cwd
|
||||
from testing.auto_namedtuple import auto_namedtuple
|
||||
|
||||
|
||||
|
|
@ -133,7 +133,7 @@ def test_help_cmd_in_empty_directory(
|
|||
):
|
||||
path = tmpdir_factory.get()
|
||||
|
||||
with local.cwd(path):
|
||||
with cwd(path):
|
||||
with pytest.raises(CalledExit):
|
||||
main.main(['help', 'run'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue