Commit f8e9c61
committed
test: load pynndescent_bug_np.npz from relative path
The test `test_bad_data` will fail to load the test data
`pynndescent_bug_np.npz` in case the current directory is not the
repositories root directory.
Load the `pynndescent_bug_np.npz` test data relative from the test file
to not rely on the current directory.
Signed-off-by: Benjamin Drung <[email protected]>1 parent f7bafec commit f8e9c61
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
744 | 745 | | |
745 | 746 | | |
746 | 747 | | |
| 748 | + | |
747 | 749 | | |
748 | | - | |
| 750 | + | |
749 | 751 | | |
750 | 752 | | |
0 commit comments