Skip to content

Commit

Permalink
Fix test skipping (#1957)
Browse files Browse the repository at this point in the history
  • Loading branch information
kounelisagis authored Apr 23, 2024
1 parent 8a98a42 commit eea0ffe
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tiledb/tests/test_timestamp_overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,11 @@ def has_libfaketime():
return False


@pytest.mark.skipif(
sys.platform == "win32" or not has_libfaketime(),
reason=f"libfaketime not installed. {'Not supported on Windows.' if sys.platform == 'win32' else ''}",
)
class TestTimestampOverrides(DiskTestCase):
@pytest.mark.skipif(
sys.platform == "win32",
reason="libfaketime is not supported on Windows",
)
@pytest.mark.skipif(
not has_libfaketime(),
reason="libfaketime not installed.",
)
def test_timestamp_overrides(self):
uri_fragments = self.path("time_test_fragments")
uri_group_metadata = self.path("time_test_group_metadata")
Expand Down

0 comments on commit eea0ffe

Please sign in to comment.