Skip to content

Commit

Permalink
chore: apply refurb suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Aug 29, 2024
1 parent f0b7147 commit 5ef3fc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/embedders/geovex/test_embedder.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def test_embedder_save_load() -> None:
assert isinstance(loaded_embedder._model, GeoVexModel)

# safely clean up tmp_models directory
os.remove(tmp_models_dir / "test_model" / "model.pt")
os.remove(tmp_models_dir / "test_model" / "config.json")
(tmp_models_dir / "test_model" / "model.pt").unlink()
(tmp_models_dir / "test_model" / "config.json").unlink()
os.rmdir(tmp_models_dir / "test_model")
os.rmdir(tmp_models_dir)

0 comments on commit 5ef3fc7

Please sign in to comment.