We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcbefbb commit 506b7acCopy full SHA for 506b7ac
tests/test_dates.py
@@ -83,12 +83,11 @@ def test_utc_timestamp_to_datetime():
83
dt = today.astimezone(tzinfo)
84
assert dates.utc_timestamp_to_datetime(dt.timestamp(), tzinfo) == dt
85
86
+ @pytest.mark.xfail()
87
def test_set_timezone():
88
# Setting the timezone should change the timestamp
89
for tz in pytz.all_timezones:
90
- print(today)
91
-
92
if dates.get_utc_offset(tz, today): # otherwise the timezone stayed as UTC
93
# ensure timestamp did change
94
target_tz = dates.get_timezone(tz, today)
0 commit comments