Remove plumbum

This commit is contained in:
Anthony Sottile 2014-10-01 17:27:23 -07:00
parent 5d9ba14841
commit bbd2572b11
24 changed files with 236 additions and 203 deletions

View file

@ -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'])