← 返回首页
Mark `test_installation` xfail on Cygwin CI by EliahKagan · Pull Request #2009 · gitpython-developers/GitPython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected Viewed files
Conversations
Failed to load comments. Retry
Loading
Jump to
Jump to file
Failed to load files. Retry
Loading
Diff view
Unified
Split
Hide whitespace
Apply and reload
Show whitespace
Diff view
Unified
Split
Hide whitespace
Apply and reload
8 changes: 8 additions & 0 deletions test/test_installation.py
Show comments View file Edit file Delete file Open in desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@
import ast
import os
import subprocess
import sys

import pytest

from test.lib import TestBase, VirtualEnvironment, with_rw_directory


class TestInstallation(TestBase):
@pytest.mark.xfail(
sys.platform == "cygwin" and "CI" in os.environ,
reason="Trouble with pip on Cygwin CI, see issue #2004",
raises=subprocess.CalledProcessError,
)
@with_rw_directory
def test_installation(self, rw_dir):
venv = self._set_up_venv(rw_dir)
Expand Down
Toggle all file notes Toggle all file annotations

Footer

© 2026 GitHub, Inc.