mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
#429: Fix tests with python 2
This commit is contained in:
parent
cab933e7e6
commit
20fff3142c
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user