Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:seife:Factory
python-pytest-twisted
pytest-twisted-ignorepy310DeprecationWarnings.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pytest-twisted-ignorepy310DeprecationWarnings.patch of Package python-pytest-twisted
Index: pytest-twisted-1.13.4/pytest.ini =================================================================== --- pytest-twisted-1.13.4.orig/pytest.ini +++ pytest-twisted-1.13.4/pytest.ini @@ -1,3 +1,5 @@ [pytest] addopts = --verbose -filterwarnings = error +filterwarnings = + error + ignore:currentThread:DeprecationWarning Index: pytest-twisted-1.13.4/testing/test_basic.py =================================================================== --- pytest-twisted-1.13.4.orig/testing/test_basic.py +++ pytest-twisted-1.13.4/testing/test_basic.py @@ -94,8 +94,13 @@ def skip_if_no_async_generators(): @pytest.fixture -def cmd_opts(request): +def cmd_opts(request, testdir): reactor = request.config.getoption("reactor", "default") + pytest_ini_file = """ + [pytest] + filterwarnings = ignore:currentThread:DeprecationWarning + """ + testdir.makefile(".ini", pytest=pytest_ini_file) return ( sys.executable, "-m", @@ -370,6 +375,8 @@ def test_async_fixture(testdir, cmd_opts [pytest] markers = redgreenblue + filterwarnings = + ignore:currentThread:DeprecationWarning """ testdir.makefile('.ini', pytest=pytest_ini_file) test_file = """
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