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 11from functools import lru_cache
22from pathlib import Path
33import warnings
4+ import os
45
56from hypothesis import settings
67from pytest import mark
@@ -102,7 +103,7 @@ def pytest_collection_modifyitems(config, items):
102103
103104 skip_ids = []
104105 if skips_path :
105- with open (skips_path ) as f :
106+ with open (os . path . expanduser ( skips_path ) ) as f :
106107 for line in f :
107108 if line .startswith ("array_api_tests" ):
108109 id_ = line .strip ("\n " )
@@ -116,7 +117,7 @@ def pytest_collection_modifyitems(config, items):
116117
117118 xfail_ids = []
118119 if xfails_path :
119- with open (xfails_path ) as f :
120+ with open (os . path . expanduser ( xfails_path ) ) as f :
120121 for line in f :
121122 if not line .strip () or line .startswith ('#' ):
122123 continue
You can’t perform that action at this time.
0 commit comments