File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,7 @@ def test_create_empty_read_tree(testrepo):
313313 index .read_tree (testrepo ['fd937514cb799514d4b81bb24c5fcfeb6472b245' ])
314314
315315
316+ @utils .fails_in_macos
316317def test_add_conflict (testrepo ):
317318 ancestor_blob_id = testrepo .create_blob ('ancestor' )
318319 ancestor = IndexEntry ('conflict.txt' , ancestor_blob_id , FileMode .BLOB_EXECUTABLE )
Original file line number Diff line number Diff line change 2727
2828import os
2929import shutil
30+ import sys
31+
32+ import pytest
3033
3134import pygit2
3235from . import utils
3336
3437
38+ # FIXME Detect the filesystem rather than the operating system
39+ works_in_linux = pytest .mark .xfail (
40+ sys .platform != 'linux' ,
41+ reason = 'fails in macOS/Windows, and also in Linux with the FAT filesystem' ,
42+ )
43+
44+
3545@utils .requires_network
36- @utils . requires_linux
46+ @works_in_linux
3747def test_nonunicode_branchname (testrepo ):
3848 folderpath = 'temp_repo_nonutf'
3949 if os .path .exists (folderpath ):
Original file line number Diff line number Diff line change 6666
6767requires_refcount = pytest .mark .skipif (is_pypy , reason = 'skip refcounts checks in pypy' )
6868
69- requires_linux = pytest .mark .xfail (
70- sys .platform != 'linux ' , reason = 'probably a bug in libgit2 for non-linux platforms '
69+ fails_in_macos = pytest .mark .xfail (
70+ sys .platform == 'darwin ' , reason = 'fails in macOS for an unknown reason '
7171)
7272
7373
You can’t perform that action at this time.
0 commit comments