Commit 5e26e26
committed
Skip sklearnex test when scikit-learn-intelex is unavailable
scikit-learn-intelex may not be installable with newer NumPy versions
(e.g. NumPy 2.4 from the updated Colab base image). Rather than fail
the entire test suite, skip the test gracefully when the module is
not present.1 parent 0cd2371 commit 5e26e26
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
11 | 18 | | |
12 | | - | |
| 19 | + | |
0 commit comments