From 3e91531d22cf7d050d098b327960e501e7d15326 Mon Sep 17 00:00:00 2001 From: Marcel Telka <marcel@telka.sk> Date: Mon, 04 Mar 2024 13:56:06 +0100 Subject: [PATCH] python/time-machine: update to 2.14.0 --- components/python/time-machine/patches/01-test-skip-failing.patch | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/python/time-machine/patches/01-test-skip-failing.patch b/components/python/time-machine/patches/01-test-skip-failing.patch index e8a7919..f4f0e00 100644 --- a/components/python/time-machine/patches/01-test-skip-failing.patch +++ b/components/python/time-machine/patches/01-test-skip-failing.patch @@ -1,6 +1,6 @@ ---- time-machine-2.10.0/tests/test_time_machine.py.orig -+++ time-machine-2.10.0/tests/test_time_machine.py -@@ -334,6 +334,7 @@ +--- time-machine-2.14.0/tests/test_time_machine.py.orig ++++ time-machine-2.14.0/tests/test_time_machine.py +@@ -380,6 +380,7 @@ assert time.time() == EPOCH + 21600.0 @@ -8,7 +8,7 @@ def test_destination_datetime_tzinfo_zoneinfo(): orig_timezone = time.timezone orig_altzone = time.altzone -@@ -367,6 +368,7 @@ +@@ -413,6 +414,7 @@ assert time.daylight == orig_daylight @@ -16,15 +16,15 @@ def test_destination_datetime_tzinfo_zoneinfo_nested(): orig_tzname = time.tzname -@@ -383,6 +385,7 @@ +@@ -429,6 +431,7 @@ assert time.tzname == orig_tzname +@pytest.mark.skip(reason="always fails: https://github.com/adamchainz/time-machine/issues/386") def test_destination_datetime_tzinfo_zoneinfo_no_orig_tz(): - orig_tz = os.environ["TZ"] - del os.environ["TZ"] -@@ -599,6 +602,7 @@ + with change_local_timezone(None): + orig_tzname = time.tzname +@@ -698,6 +701,7 @@ assert time.time() == EPOCH -- Gitblit v1.9.3