From aa746e2ac7a671bef25e3c1cadeb215cdfb6b685e27111668cb6b66d95bf2b1a Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 30 Oct 2023 17:02:03 +0000 Subject: [PATCH] - update hypothesis_settings.patch: * Extend deadline for test_child_of_parents that fails on ppc64le (bsc#1216607) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=62 --- hypothesis_settings.patch | 19 ++++++++++++++++--- python-pyudev.changes | 6 ++++++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/hypothesis_settings.patch b/hypothesis_settings.patch index f861f1f..c552fb7 100644 --- a/hypothesis_settings.patch +++ b/hypothesis_settings.patch @@ -1,7 +1,7 @@ -Index: pyudev-0.24.0/tests/test_enumerate.py +Index: pyudev-0.24.1/tests/test_enumerate.py =================================================================== ---- pyudev-0.24.0.orig/tests/test_enumerate.py -+++ pyudev-0.24.0/tests/test_enumerate.py +--- pyudev-0.24.1.orig/tests/test_enumerate.py ++++ pyudev-0.24.1/tests/test_enumerate.py @@ -88,7 +88,7 @@ class TestEnumerator(object): @failed_health_check_wrapper @@ -74,3 +74,16 @@ Index: pyudev-0.24.0/tests/test_enumerate.py def test_match_passthrough_property(self, enumerator): """ Test that non-special keyword args are treated as properties. +Index: pyudev-0.24.1/tests/_device_tests/_device_tests.py +=================================================================== +--- pyudev-0.24.1.orig/tests/_device_tests/_device_tests.py ++++ pyudev-0.24.1/tests/_device_tests/_device_tests.py +@@ -61,7 +61,7 @@ class TestDevice(object): + @pytest.mark.skipif(len(_devices) == 0, reason="no device with a parent") + @_UDEV_TEST(172, "test_child_of_parents") + @given(strategies.sampled_from(_devices)) +- @settings(max_examples=5) ++ @settings(max_examples=5, deadline=2000) + def test_child_of_parent(self, a_device): + assert a_device in a_device.parent.children + diff --git a/python-pyudev.changes b/python-pyudev.changes index ffb776e..8d5b038 100644 --- a/python-pyudev.changes +++ b/python-pyudev.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 30 16:58:20 UTC 2023 - Daniel Garcia + +- update hypothesis_settings.patch: + * Extend deadline for test_child_of_parents that fails on ppc64le (bsc#1216607) + ------------------------------------------------------------------- Wed May 3 09:11:27 UTC 2023 - Dirk Müller