diff options
author | Hind-M <hind.montassif@gmail.com> | 2022-02-02 21:32:55 +0100 |
---|---|---|
committer | Hind-M <hind.montassif@gmail.com> | 2022-02-02 21:32:55 +0100 |
commit | a2d55f9bbf0f45e3ae4c147f734ce04f5bc87ab8 (patch) | |
tree | 74f7f28ec12cc47da5d2052b5429ebe40cd070e9 /src/python | |
parent | 19689c712a1f5945e664f9c74c14b6994e7afaaf (diff) |
Another attempt to fix windows failing test: move fetch_bunny to the end
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/test/test_remote_datasets.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/python/test/test_remote_datasets.py b/src/python/test/test_remote_datasets.py index 643485f9..5e607d73 100644 --- a/src/python/test/test_remote_datasets.py +++ b/src/python/test/test_remote_datasets.py @@ -66,14 +66,6 @@ def test_fetch_remote_datasets(): _check_fetch_output("https://raw.githubusercontent.com/GUDHI/gudhi-data/main/points/sphere3D_pts_on_grid.off", "sphere3D_pts_on_grid.off") - # Test fetch_spiral_2d and fetch_bunny wrapping functions (twice, to test case of already fetched files) - for i in range(2): - spiral_2d_arr = remote.fetch_spiral_2d() - assert spiral_2d_arr.shape == (114562, 2) - - bunny_arr = remote.fetch_bunny() - assert bunny_arr.shape == (35947, 3) - # Test printing existing LICENSE file when fetching bunny.npy with accept_license = False (default) # Fetch LICENSE file if not exists("remote_datasets/bunny"): @@ -85,3 +77,11 @@ def test_fetch_remote_datasets(): # Test not printing bunny.npy LICENSE when accept_license = True assert "" == _get_bunny_license_print(accept_license = True).getvalue() + + # Test fetch_spiral_2d and fetch_bunny wrapping functions (twice, to test case of already fetched files) + for i in range(2): + spiral_2d_arr = remote.fetch_spiral_2d() + assert spiral_2d_arr.shape == (114562, 2) + + bunny_arr = remote.fetch_bunny() + assert bunny_arr.shape == (35947, 3) |