Skip to content

Commit db95e67

Browse files
authored
Merge pull request #286 from jakevdp/prefix
Remove `array-api-tests` prefix in ID matching
2 parents 31468af + a15d803 commit db95e67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ def xp_has_ext(ext: str) -> bool:
124124

125125

126126
def check_id_match(id_, pattern):
127+
id_ = id_.removeprefix('array-api-tests/')
128+
127129
if id_ == pattern:
128130
return True
129131

0 commit comments

Comments
 (0)