GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TST: Mark test_submodule.TestSubmodule.test_root_module as xfail on C… · gitpython-developers/GitPython@7f3689d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test
    • test_submodule.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/test_submodule.py‎

Copy file name to clipboardExpand all lines: test/test_submodule.py
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
44
import os
55
import shutil
6+
import sys
67
from unittest import skipIf
78

9+
import pytest
10+
811
import git
912
from git.cmd import Git
1013
from git.compat import is_win
@@ -433,6 +436,11 @@ def _do_base_tests(self, rwrepo):
433436
def test_base_rw(self, rwrepo):
434437
self._do_base_tests(rwrepo)
435438

439+
@pytest.mark.xfail(
440+
sys.platform == "cygwin",
441+
reason="Cygwin GitPython can't find submodule SHA",
442+
raises=ValueError
443+
)
436444
@with_rw_repo(k_subm_current, bare=True)
437445
def test_base_bare(self, rwrepo):
438446
self._do_base_tests(rwrepo)

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.