We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca79293 commit 4bf0aeeCopy full SHA for 4bf0aee
test_package/numpy/test.py
@@ -5,8 +5,10 @@
5
import sys
6
import numpy as np
7
8
-# `--ignore-glob` expands patterns as absolute paths in the current folder
9
-os.chdir(pathlib.Path.home())
+# pytest's `--ignore-glob` option (see below) expands patterns as absolute paths in the
+# 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)
12
13
skip_tests = [
14
"test_mem_policy", # requires `meson`
0 commit comments