[chore] Remove image.jpg produced by tests and add cleanup in test (#827)

This commit is contained in:
Sidharth Mohanty
2023-10-19 10:08:00 +05:30
committed by GitHub
parent 2d5dc84f1a
commit 36e6d486fc
3 changed files with 1 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -27,6 +27,7 @@ class TestClipProcessor:
# Delete the temporary file.
os.remove(os.path.join(tmp_dir, "image.jpg"))
os.remove("image.jpg")
def test_get_text_features(self):
# Test that the `get_text_features()` method returns a list containing the text embedding.