forked from pool/python-pyudev
Accepting request 1121253 from devel:languages:python
- update hypothesis_settings.patch: * Extend deadline for test_child_of_parents that fails on ppc64le (bsc#1216607) OBS-URL: https://build.opensuse.org/request/show/1121253 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyudev?expand=0&rev=33
This commit is contained in:
commit
d3bc3d786d
@ -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
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 30 16:58:20 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user