mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-30 06:34:09 +00:00
#429: Fix tests with python 2
This commit is contained in:
@@ -86,7 +86,7 @@ def test_match(script, stderr):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('script, stderr', [
|
@pytest.mark.parametrize('script, stderr', [
|
||||||
('vim', invalid_operation),
|
('vim', invalid_operation('vim')),
|
||||||
('apt-get', "")])
|
('apt-get', "")])
|
||||||
def test_not_match(script, stderr):
|
def test_not_match(script, stderr):
|
||||||
assert not match(Command(script, stderr=stderr))
|
assert not match(Command(script, stderr=stderr))
|
||||||
|
|||||||
Reference in New Issue
Block a user