Commit 247a8e4
committed
BUG: work around some names not available in 2022.12
Case in point: np.hypot is only available in 2023.12, and has
gotten the support for scalars in 2024.12.
The test for scalars is skipped for versions older than 2024.12, but
the test parametrization is evaluated _before_ the skip. Therefore
we cannot just use `xp.hypot` in `@parametrize`.1 parent 88b92a0 commit 247a8e4
1 file changed
+11
-4
lines changedLines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1794 | 1794 | | |
1795 | 1795 | | |
1796 | 1796 | | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
1797 | 1804 | | |
1798 | 1805 | | |
1799 | 1806 | | |
1800 | 1807 | | |
1801 | 1808 | | |
1802 | 1809 | | |
1803 | 1810 | | |
1804 | | - | |
| 1811 | + | |
1805 | 1812 | | |
1806 | | - | |
| 1813 | + | |
1807 | 1814 | | |
1808 | | - | |
1809 | | - | |
| 1815 | + | |
| 1816 | + | |
1810 | 1817 | | |
1811 | 1818 | | |
1812 | 1819 | | |
| |||
0 commit comments