Skip to content

Commit

Permalink
skip persistence test on Win CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Apr 27, 2021
1 parent 5c571a3 commit 25b3e33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_persistence.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys
import time
from unittest.mock import patch

Expand All @@ -22,6 +23,10 @@ def test_user_cache_dir():
assert str(ucd) == str(home / ".cache" / "magicgui")


@pytest.mark.skipif(
bool(sys.platform == "win32" and sys.version_info >= (3, 9)),
reason="persistence test failing on CI",
)
def test_persistence(tmp_path):
"""Test that we can persist values across instances."""

Expand Down

0 comments on commit 25b3e33

Please sign in to comment.