Skip to content

Commit 2832f16

Browse files
committed
fixup! Update dependencies to the latest versions
1 parent 3989082 commit 2832f16

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test_package/numpy/test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
"""`numpy` distributes its tests: run them"""
22

3+
import os
4+
import pathlib
35
import sys
46
import numpy as np
57

8+
# `--ignore-glob` expands patterns as absolute paths in the current folder
9+
os.chdir(pathlib.Path.home())
10+
611
# `test_mem_policy.py` and `f2py/*` tests fail with Python 3.11 due to `numpy.distutils`
712
# deprecations and issues with the latest `setuptools`. Ignore it until it's resolves in `numpy`.
813
sys.exit(
914
not np.test(
1015
verbose=2,
11-
extra_argv=["-n", "auto", "-k=not test_mem_policy and not f2py"],
16+
extra_argv=["-n", "auto", "-k=not test_mem_policy", "--ignore-glob=*f2py*"],
1217
)
1318
)

0 commit comments

Comments
 (0)