Skip to content

Commit 47fe001

Browse files
tests/test_general.py:test_open2(): avoid spurious failure on github windows.
1 parent cbc0cad commit 47fe001

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_general.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,10 @@ def test_open2():
14251425
Checks behaviour of fz_open_document() and fz_open_document_with_stream()
14261426
with different filenames/magic values.
14271427
'''
1428+
if platform.system() == 'Windows':
1429+
print(f'test_open2(): not running on Windows because `git ls-files` known fail on Github Windows runners.')
1430+
return
1431+
14281432
root = os.path.normpath(f'{__file__}/../..')
14291433
root = relpath(root)
14301434

0 commit comments

Comments
 (0)