summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHind-M <hind.montassif@gmail.com>2022-05-06 09:52:26 +0200
committerHind-M <hind.montassif@gmail.com>2022-05-06 09:52:26 +0200
commita809771b6d7381d233656f7a0b02211559189bfe (patch)
tree4c557e3a9c33a2c42841741cd9bd36c3cf7ae208
parentf344700ebee65de9ccc8799f2ec4e1c633ab864e (diff)
Delete bunny array before removing the file
-rw-r--r--src/python/test/test_remote_datasets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/test/test_remote_datasets.py b/src/python/test/test_remote_datasets.py
index 6f569fd2..cde9fa22 100644
--- a/src/python/test/test_remote_datasets.py
+++ b/src/python/test/test_remote_datasets.py
@@ -38,6 +38,7 @@ def _get_bunny_license_print(accept_license = False):
bunny_arr = remote.fetch_bunny("./tmp_for_test/bunny.npy", accept_license)
assert bunny_arr.shape == (35947, 3)
+ del bunny_arr
remove("./tmp_for_test/bunny.npy")
# Reset redirect