Skip to content

Commit bcb77d1

Browse files
committed
Exclude non compatible test
1 parent 1a47bf3 commit bcb77d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def workspace(tmpdir):
4343

4444
class FakeConfig(object):
4545
def __init__(self):
46-
self._root_path = "C:" if os.name == "nt" else "/"
46+
self._root_path = "C://" if os.name == "nt" else "/"
4747

4848
def plugin_settings(self, plugin, document_path=None):
4949
return {}
@@ -147,6 +147,7 @@ def test_apply_overrides():
147147
assert plugin.apply_overrides(["1"], ["a", True, "b"]) == ["a", "1", "b"]
148148

149149

150+
@pytest.mark.skipif(os.name == "nt", reason = "Not working on Windows due to test design.")
150151
def test_option_overrides(tmpdir, last_diagnostics_monkeypatch, workspace):
151152
import sys
152153
from stat import S_IRWXU

0 commit comments

Comments
 (0)