14
0
forked from pool/python-pycurl

Accepting request 1133226 from devel:languages:python

- Add patch pause-unpause-xfail.patch:
  * XFAIL a test due to gh#pycurl/pycurl#729 (bsc#1218062)

OBS-URL: https://build.opensuse.org/request/show/1133226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycurl?expand=0&rev=45
This commit is contained in:
2023-12-15 20:46:08 +00:00
committed by Git OBS Bridge
3 changed files with 21 additions and 0 deletions

13
pause-unpause-xfail.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: pycurl-7.45.2/tests/multi_callback_test.py
===================================================================
--- pycurl-7.45.2.orig/tests/multi_callback_test.py
+++ pycurl-7.45.2/tests/multi_callback_test.py
@@ -77,7 +77,7 @@ class MultiCallbackTest(unittest.TestCas
# (mid-transfer) easy.pause(PAUSE_ALL) must call SOCKETFUNCTION to remove sockets
# (mid-transfer) easy.pause(PAUSE_CONT) must call TIMERFUNCTION to resume
- @pytest.mark.xfail(sys.platform == 'darwin', reason='https://github.com/pycurl/pycurl/issues/729')
+ @pytest.mark.xfail(sys.platform is not None, reason='https://github.com/pycurl/pycurl/issues/729')
def test_easy_pause_unpause(self):
self.partial_transfer()
self.socket_result = None

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 15 01:53:16 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch pause-unpause-xfail.patch:
* XFAIL a test due to gh#pycurl/pycurl#729 (bsc#1218062)
-------------------------------------------------------------------
Thu Oct 12 14:09:12 UTC 2023 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -41,6 +41,8 @@ Patch2: disable_randomly_failing_tests.patch
# PATCH-FIX-OPENSUSE make-leap15-compat.patch mcepl@suse.com
# Make tests passing with Leap 15.2
Patch3: make-leap15-compat.patch
# PATCH-FIX-OPENSUSE xfail a test around pause/unpause not behaving
Patch4: pause-unpause-xfail.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes