Skip to content

Commit

Permalink
Remove xfail markers
Browse files Browse the repository at this point in the history
Using tzdata makes it so that these tests can now pass on Windows
  • Loading branch information
pganssle committed Dec 3, 2022
1 parent 1f36aa2 commit 24c8f99
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_tz.py
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,6 @@ def test_gettz_zone_wrong_type(badzone, exc_reason):


@pytest.mark.gettz
@pytest.mark.xfail(IS_WIN, reason='zoneinfo separately cached')
def test_gettz_cache_clear():
NYC1 = tz.gettz('America/New_York')
tz.gettz.cache_clear()
Expand All @@ -1152,7 +1151,6 @@ def test_gettz_cache_clear():
assert NYC1 is not NYC2

@pytest.mark.gettz
@pytest.mark.xfail(IS_WIN, reason='zoneinfo separately cached')
def test_gettz_set_cache_size():
tz.gettz.cache_clear()
tz.gettz.set_cache_size(3)
Expand All @@ -1172,7 +1170,6 @@ def test_gettz_set_cache_size():

assert MONACO_ref() is None

@pytest.mark.xfail(IS_WIN, reason="Windows does not use system zoneinfo")
@pytest.mark.smoke
@pytest.mark.gettz
def test_gettz_weakref():
Expand Down

0 comments on commit 24c8f99

Please sign in to comment.