Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
python-tornado6
ignore-resourcewarning-doctests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ignore-resourcewarning-doctests.patch of Package python-tornado6
Index: tornado-6.0.4/tornado/util.py =================================================================== --- tornado-6.0.4.orig/tornado/util.py 2020-03-11 11:42:49.610254636 +0100 +++ tornado-6.0.4/tornado/util.py 2020-03-11 11:43:51.470603323 +0100 @@ -468,5 +468,7 @@ else: def doctests(): # type: () -> unittest.TestSuite import doctest + import warnings + warnings.simplefilter("ignore", ResourceWarning) return doctest.DocTestSuite() Index: tornado-6.0.4/tornado/httputil.py =================================================================== --- tornado-6.0.4.orig/tornado/httputil.py 2020-03-11 11:42:49.610254636 +0100 +++ tornado-6.0.4/tornado/httputil.py 2020-03-11 11:44:46.178911693 +0100 @@ -1032,6 +1032,8 @@ def encode_username_password( def doctests(): # type: () -> unittest.TestSuite import doctest + import warnings + warnings.simplefilter("ignore", ResourceWarning) return doctest.DocTestSuite() Index: tornado-6.0.4/tornado/iostream.py =================================================================== --- tornado-6.0.4.orig/tornado/iostream.py 2020-03-11 11:42:49.610254636 +0100 +++ tornado-6.0.4/tornado/iostream.py 2020-03-11 11:45:31.015164413 +0100 @@ -1677,5 +1677,7 @@ class PipeIOStream(BaseIOStream): def doctests() -> Any: import doctest + import warnings + warnings.simplefilter("ignore", ResourceWarning) return doctest.DocTestSuite()
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