Skip to content

Commit

Permalink
fixup! Update dependencies to the latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dean0x7d committed Nov 11, 2024
1 parent 3989082 commit 2832f16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test_package/numpy/test.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
"""`numpy` distributes its tests: run them"""

import os
import pathlib
import sys
import numpy as np

# `--ignore-glob` expands patterns as absolute paths in the current folder
os.chdir(pathlib.Path.home())

# `test_mem_policy.py` and `f2py/*` tests fail with Python 3.11 due to `numpy.distutils`
# deprecations and issues with the latest `setuptools`. Ignore it until it's resolves in `numpy`.
sys.exit(
not np.test(
verbose=2,
extra_argv=["-n", "auto", "-k=not test_mem_policy and not f2py"],
extra_argv=["-n", "auto", "-k=not test_mem_policy", "--ignore-glob=*f2py*"],
)
)

0 comments on commit 2832f16

Please sign in to comment.