File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
from functools import lru_cache
2
2
from pathlib import Path
3
3
import warnings
4
+ import os
4
5
5
6
from hypothesis import settings
6
7
from pytest import mark
@@ -102,7 +103,7 @@ def pytest_collection_modifyitems(config, items):
102
103
103
104
skip_ids = []
104
105
if skips_path :
105
- with open (skips_path ) as f :
106
+ with open (os . path . expanduser ( skips_path ) ) as f :
106
107
for line in f :
107
108
if line .startswith ("array_api_tests" ):
108
109
id_ = line .strip ("\n " )
@@ -116,7 +117,7 @@ def pytest_collection_modifyitems(config, items):
116
117
117
118
xfail_ids = []
118
119
if xfails_path :
119
- with open (xfails_path ) as f :
120
+ with open (os . path . expanduser ( xfails_path ) ) as f :
120
121
for line in f :
121
122
if not line .strip () or line .startswith ('#' ):
122
123
continue
You can’t perform that action at this time.
0 commit comments