From 3192c99f3a8f2614f5d59934b48033434f58d898 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 19 Feb 2021 10:54:59 -0500 Subject: [PATCH] Skip tests that are buggy on certain architectures Restore the UUID tests, as the bug was fixed some time ago Signed-off-by: Stephen Gallagher --- python-freezegun.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/python-freezegun.spec b/python-freezegun.spec index 324ccfc..b035750 100644 --- a/python-freezegun.spec +++ b/python-freezegun.spec @@ -3,7 +3,7 @@ Name: python-freezegun Version: 1.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{sum} License: ASL 2.0 @@ -49,9 +49,10 @@ rm -rf %{modname}.egg-info %py3_install %check -# Ignore test_uuid1_future and test_uuid1_past for now as they fail with Python 3.8 -# Reported upstream: https://github.com/spulec/freezegun/issues/293 -pytest-3 --deselect tests/test_uuid.py::test_uuid1_future --deselect tests/test_uuid.py::test_uuid1_past +# Ignore two tests that are broken when run on systems in certain timezones. +# Reported upstream: https://github.com/spulec/freezegun/issues/348 +pytest-3 --deselect tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time \ + --deselect tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_hello @@ -61,6 +62,10 @@ pytest-3 --deselect tests/test_uuid.py::test_uuid1_future --deselect tests/test_ %{python3_sitelib}/%{modname}-%{version}-* %changelog +* Fri Feb 19 2021 Stephen Gallagher - 1.0.0-4 +- Skip tests that are buggy on certain architectures +- Restore the UUID tests, as the bug was fixed some time ago + * Wed Jan 27 2021 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild