1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00

#1248: Skip a failing test when running on Windows

This commit is contained in:
Pablo Santiago Blum de Aguiar 2023-07-10 14:40:45 +02:00
parent cf0921be4a
commit 617aaa1fd0

View File

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