Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d06f8a9

Browse filesBrowse files
authored
Merge pull request gitpython-developers#2009 from EliahKagan/cygwin-xfail-ci
Mark `test_installation` xfail on Cygwin CI
2 parents fe7533e + 2ae697d commit d06f8a9
Copy full SHA for d06f8a9

File tree

1 file changed

+8
-0
lines changed
Filter options

1 file changed

+8
-0
lines changed

‎test/test_installation.py

Copy file name to clipboardExpand all lines: test/test_installation.py
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,19 @@
44
import ast
55
import os
66
import subprocess
7+
import sys
8+
9+
import pytest
710

811
from test.lib import TestBase, VirtualEnvironment, with_rw_directory
912

1013

1114
class TestInstallation(TestBase):
15+
@pytest.mark.xfail(
16+
sys.platform == "cygwin" and "CI" in os.environ,
17+
reason="Trouble with pip on Cygwin CI, see issue #2004",
18+
raises=subprocess.CalledProcessError,
19+
)
1220
@with_rw_directory
1321
def test_installation(self, rw_dir):
1422
venv = self._set_up_venv(rw_dir)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.