mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-07 20:34:02 +01:00
#1248: Skip a failing test when running on Windows
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
|
||||
import pytest
|
||||
import sys
|
||||
from mock import Mock, patch
|
||||
from psutil import AccessDenied, TimeoutExpired
|
||||
|
||||
@@ -30,6 +32,7 @@ class TestRerun(object):
|
||||
actual = rerun.get_output('', '')
|
||||
assert actual == expected
|
||||
|
||||
@pytest.mark.skipif(sys.platform == 'win32', reason="skip when running on Windows")
|
||||
@patch('thefuck.output_readers.rerun._wait_output')
|
||||
def test_get_output_unicode_misspell(self, wait_output_mock):
|
||||
rerun.get_output(u'pácman', u'pácman')
|
||||
|
Reference in New Issue
Block a user