From 73a6486b762895f0ffc0c2edff655dc21e772dc3 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 25 Dec 2023 11:05:30 -0500 Subject: [PATCH] Revert "Add workaround for pypy/pypy#4021." This reverts commit 1fb888bdf9230dd9f973b10ed8745f1fb3bbb827. --- conftest.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/conftest.py b/conftest.py index a937bfd..eb3bd87 100644 --- a/conftest.py +++ b/conftest.py @@ -40,14 +40,3 @@ def published_projects(monkeypatch, tmp_path): projects.write_text('\n'.join(sample_projects), encoding='utf-8') url_path = urllib.request.pathname2url(str(projects)) monkeypatch.setenv('PROJECTS_LIST_URL', f'file://{url_path}') - - -@pytest.fixture(autouse=True) -def workaround_pypy_4021(monkeypatch): - import importlib - import platform - - if platform.python_implementation() != 'PyPy': - return - ssl = importlib.import_module('_cffi_ssl._stdssl') - monkeypatch.setattr(ssl, 'print', lambda *args: None, raising=False)