Commit cdf9f6b
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)
Co-authored-by: Liam DeVoe <[email protected]>
1 parent d879a52 commit cdf9f6b
3 files changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
431 | | - | |
| 429 | + | |
432 | 430 | | |
433 | | - | |
434 | | - | |
| 431 | + | |
435 | 432 | | |
436 | 433 | | |
437 | 434 | | |
| |||
0 commit comments