forked from pool/python314
- Binary module _opcode is not build any more
(gh#python/cpython!121555) - Add fix_test_ftp_error.patch to mark test_ftp_error as requiring network access. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python314?expand=0&rev=9
This commit is contained in:
22
fix_test_ftp_error.patch
Normal file
22
fix_test_ftp_error.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
Lib/test/test_urllib2.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/Lib/test/test_urllib2.py
|
||||
+++ b/Lib/test/test_urllib2.py
|
||||
@@ -1,6 +1,7 @@
|
||||
import unittest
|
||||
from test import support
|
||||
from test.support import os_helper
|
||||
+from test.support import requires
|
||||
from test.support import requires_subprocess
|
||||
from test.support import warnings_helper
|
||||
from test import test_urllib
|
||||
@@ -795,6 +796,7 @@ class HandlerTests(unittest.TestCase):
|
||||
self.assertEqual(int(headers["Content-length"]), len(data))
|
||||
|
||||
def test_ftp_error(self):
|
||||
+ requires('network')
|
||||
class ErrorFTPHandler(urllib.request.FTPHandler):
|
||||
def __init__(self, exception):
|
||||
self._exception = exception
|
||||
@@ -18,7 +18,10 @@ Wed Oct 16 07:00:15 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
(gh#python/cpython#125535)
|
||||
- With python311-Sphinx we don't need no-skipif-doctests.patch
|
||||
any more.
|
||||
- Binary module _opcode is not build any more (gh#python/cpython!121555).
|
||||
- Binary module _opcode is not build any more
|
||||
(gh#python/cpython!121555)
|
||||
- Add fix_test_ftp_error.patch to mark test_ftp_error as
|
||||
requiring network access.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 11:18:19 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
@@ -212,6 +212,9 @@ Patch40: fix-test-recursion-limit-15.6.patch
|
||||
# PATCH-FIX-UPSTREAM gh125535-Lib_IntVector_Intrinsics_vec128.patch gh#python/cpython#125535 mcepl@suse.com
|
||||
# Patch from https://github.com/python/cpython/pull/125244
|
||||
Patch41: gh125535-Lib_IntVector_Intrinsics_vec128.patch
|
||||
# PATCH-{FIX|FEATURE}-{OPENSUSE|SLE|UPSTREAM} name-of-file.patch bsc#[0-9]+ mcepl@suse.com
|
||||
# this patch makes things totally awesome
|
||||
Patch42: fix_test_ftp_error.patch
|
||||
BuildRequires: autoconf-archive
|
||||
BuildRequires: automake
|
||||
BuildRequires: fdupes
|
||||
|
||||
Reference in New Issue
Block a user