Skip to content

Commit

Permalink
#1248: Skip a failing test when running on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
scorphus committed Jul 10, 2023
1 parent cf0921b commit 617aaa1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/output_readers/test_rerun.py
@@ -1,5 +1,7 @@
# -*- encoding: utf-8 -*-

import pytest
import sys
from mock import Mock, patch
from psutil import AccessDenied, TimeoutExpired

Expand Down Expand Up @@ -30,6 +32,7 @@ def test_get_output_invalid_continuation_byte(self, popen_mock):
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')
Expand Down

0 comments on commit 617aaa1

Please sign in to comment.