Skip to content

Commit

Permalink
Try restoring save-load test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Nov 22, 2020
1 parent b934b1c commit 505655e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions umap/tests/test_parametric_umap.py
Expand Up @@ -93,9 +93,9 @@ def test_save_load():
embedder = ParametricUMAP()
embedding = embedder.fit_transform(X)

if platform.system() != "Windows":
# Portable tempfile
model_path = tempfile.mkdtemp(suffix="_umap_model")
# if platform.system() != "Windows":
# Portable tempfile
model_path = tempfile.mkdtemp(suffix="_umap_model")

embedder.save(model_path)
embedder = load_ParametricUMAP(model_path)
embedder.save(model_path)
embedder = load_ParametricUMAP(model_path)

0 comments on commit 505655e

Please sign in to comment.