Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:staging
python-cheroot
no-pypytools.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-pypytools.patch of Package python-cheroot
--- cheroot/test/test_server.py | 13 ------------- 1 file changed, 13 deletions(-) Index: cheroot-10.0.1/cheroot/test/test_server.py =================================================================== --- cheroot-10.0.1.orig/cheroot/test/test_server.py +++ cheroot-10.0.1/cheroot/test/test_server.py @@ -13,8 +13,6 @@ import pytest import requests import requests_unixsocket -from pypytools.gc.custom import DefaultGc - from .._compat import bton, ntob from .._compat import IS_LINUX, IS_MACOS, IS_WINDOWS, SYS_PLATFORM from ..server import IS_UID_GID_RESOLVABLE, Gateway, HTTPServer @@ -410,13 +408,6 @@ if not IS_WINDOWS and not ISSUE511: @pytest.fixture -def _garbage_bin(): - """Disable garbage collection when this fixture is in use.""" - with DefaultGc().nogc(): - yield - - -@pytest.fixture def resource_limit(request): """Set the resource limit two times bigger then requested.""" resource = pytest.importorskip( @@ -445,11 +436,6 @@ def resource_limit(request): @pytest.fixture def many_open_sockets(request, resource_limit): """Allocate a lot of file descriptors by opening dummy sockets.""" - # NOTE: `@pytest.mark.usefixtures` doesn't work on fixtures which - # NOTE: forces us to invoke this one dynamically to avoid having an - # NOTE: unused argument. - request.getfixturevalue('_garbage_bin') - # Hoard a lot of file descriptors by opening and storing a lot of sockets test_sockets = [] # Open a lot of file descriptors, so the next one the server
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor