Skip to content

[PR #13563/ecc55b43 backport][8.4.x] Import numpy conditionally in pytest.approx#13566

Merged
nicoddemus merged 1 commit into8.4.xfrom
patchback/backports/8.4.x/ecc55b435ffd8be19146c75b215886d38421beed/pr-13563
Jun 25, 2025
Merged

[PR #13563/ecc55b43 backport][8.4.x] Import numpy conditionally in pytest.approx#13566
nicoddemus merged 1 commit into8.4.xfrom
patchback/backports/8.4.x/ecc55b435ffd8be19146c75b215886d38421beed/pr-13563

Conversation

@patchback
Copy link

@patchback patchback bot commented Jun 25, 2025

This is a backport of PR #13563 as merged into main (ecc55b4).

Introduced in #13338.

This matches existing conditional-import behavior in pytest.approx, and improves runtime for users of pytest.approx and not numpy.

This matches existing conditional-import behavior in `pytest.approx`, and improves runtime for users of `pytest.approx` and not `numpy`.

(cherry picked from commit ecc55b4)
@nicoddemus nicoddemus enabled auto-merge (squash) June 25, 2025 14:37
@nicoddemus nicoddemus merged commit cdf9f6b into 8.4.x Jun 25, 2025
36 checks passed
@nicoddemus nicoddemus deleted the patchback/backports/8.4.x/ecc55b435ffd8be19146c75b215886d38421beed/pr-13563 branch June 25, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments