Commit 8b9bb1a
Fix windows tests (#90)
* fix test_load adding explicit int types
* update build.yml with windows
* os independent paths in code examples
* add doctest skip when saving test file
* mute output with ; instead of with doctest skip
* capture stdout
* parametrize dtype
* improve skip condition
* improve skipping test messager
* change names from "foo.pt" to "cebra.pt"
* remove files after example is completed with path.unlink()
* fit and save a model so the temporary file exists
---------
Co-authored-by: Mackenzie Mathis <[email protected]>
Co-authored-by: Steffen Schneider <[email protected]>1 parent f45e69d commit 8b9bb1a
File tree
5 files changed
+210
-169
lines changed- .github/workflows
- cebra
- integrations/sklearn
- docs/source
- tests
5 files changed
+210
-169
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
1164 | 1167 | | |
1165 | 1168 | | |
1166 | 1169 | | |
1167 | 1170 | | |
1168 | 1171 | | |
1169 | | - | |
| 1172 | + | |
1170 | 1173 | | |
1171 | 1174 | | |
| 1175 | + | |
1172 | 1176 | | |
1173 | 1177 | | |
1174 | 1178 | | |
| |||
1332 | 1336 | | |
1333 | 1337 | | |
1334 | 1338 | | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
1335 | 1342 | | |
1336 | 1343 | | |
1337 | 1344 | | |
1338 | 1345 | | |
1339 | | - | |
| 1346 | + | |
| 1347 | + | |
1340 | 1348 | | |
1341 | 1349 | | |
1342 | 1350 | | |
| |||
1394 | 1402 | | |
1395 | 1403 | | |
1396 | 1404 | | |
1397 | | - | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1398 | 1409 | | |
1399 | | - | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
1400 | 1415 | | |
| 1416 | + | |
1401 | 1417 | | |
1402 | 1418 | | |
1403 | 1419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
245 | | - | |
246 | | - | |
| 247 | + | |
| 248 | + | |
247 | 249 | | |
248 | | - | |
| 250 | + | |
249 | 251 | | |
250 | | - | |
| 252 | + | |
251 | 253 | | |
252 | | - | |
| 254 | + | |
253 | 255 | | |
254 | 256 | | |
255 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
497 | 503 | | |
498 | 504 | | |
499 | 505 | | |
500 | 506 | | |
501 | | - | |
| 507 | + | |
502 | 508 | | |
503 | 509 | | |
504 | | - | |
| 510 | + | |
505 | 511 | | |
506 | 512 | | |
507 | 513 | | |
| |||
1221 | 1227 | | |
1222 | 1228 | | |
1223 | 1229 | | |
1224 | | - | |
| 1230 | + | |
| 1231 | + | |
1225 | 1232 | | |
1226 | 1233 | | |
1227 | | - | |
| 1234 | + | |
1228 | 1235 | | |
1229 | 1236 | | |
1230 | 1237 | | |
| |||
0 commit comments