From 2adbd4b684f3e7ff6469905cb501081b5742dfe865cb90b0dc3e6185f61fe9e4 Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Thu, 25 Aug 2022 16:25:53 +0000 Subject: [PATCH] Accepting request 999244 from home:bnavigator:branches:devel:languages:python - Skip failing DST tests for Amsterdam during Nazi occupation * gh#sdispater/pendulum#644 OBS-URL: https://build.opensuse.org/request/show/999244 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pendulum?expand=0&rev=13 --- python-pendulum.changes | 6 ++++++ python-pendulum.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-pendulum.changes b/python-pendulum.changes index 2acd170..6c1909a 100644 --- a/python-pendulum.changes +++ b/python-pendulum.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 25 12:56:40 UTC 2022 - Ben Greiner + +- Skip failing DST tests for Amsterdam during Nazi occupation + * gh#sdispater/pendulum#644 + ------------------------------------------------------------------- Tue Oct 27 10:26:38 UTC 2020 - Benjamin Greiner diff --git a/python-pendulum.spec b/python-pendulum.spec index c4186b2..f6a2faf 100644 --- a/python-pendulum.spec +++ b/python-pendulum.spec @@ -1,7 +1,7 @@ # # spec file for package python-pendulum # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -62,7 +62,9 @@ find %{buildroot}%{$python_sitearch} -name '*.c' -delete } %check -%pytest_arch +# https://github.com/sdispater/pendulum/issues/644 +donttest="(test_timezone and test_dst) or (test_behavior and test_proper_dst)" +%pytest_arch -k "not ($donttest)" %files %{python_files} %doc README.rst