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 <sgallagh@redhat.com>
epel9
Stephen Gallagher 4 years ago
parent 42246689ed
commit 3192c99f3a
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

@ -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 <sgallagh@redhat.com> - 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 <releng@fedoraproject.org> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save