Skip to content

Commit 4bf0aee

Browse files
committed
fixup! Update dependencies to the latest versions
1 parent ca79293 commit 4bf0aee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test_package/numpy/test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
import sys
66
import numpy as np
77

8-
# `--ignore-glob` expands patterns as absolute paths in the current folder
9-
os.chdir(pathlib.Path.home())
8+
# pytest's `--ignore-glob` option (see below) expands patterns as absolute paths in the
9+
# current folder. By default, that's our project folder, but we want to ignore some numpy
10+
# tests so we must target the Python prefix instead.
11+
os.chdir(sys.prefix)
1012

1113
skip_tests = [
1214
"test_mem_policy", # requires `meson`

0 commit comments

Comments
 (0)