Skip to content

Commit

Permalink
Skip test_get_container_error_timestamp on windows (#3128)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Feb 12, 2025
1 parent 3e0c177 commit 0d0e01b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/flytekit/unit/bin/test_python_entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from datetime import datetime
import os
import re
import sys
import textwrap
import time
import typing
Expand Down Expand Up @@ -519,6 +520,7 @@ def test_get_traceback_str():
assert expected_error_re.match(traceback_str) is not None


@pytest.mark.skipif(sys.platform.startswith("win"), reason="granularity of timestamp is not reliable")
def test_get_container_error_timestamp(monkeypatch) -> None:
# Set the timezone to UTC
monkeypatch.setenv("TZ", "UTC")
Expand Down

0 comments on commit 0d0e01b

Please sign in to comment.