Skip to content

Commit

Permalink
Revert "Add workaround for pypy/pypy#4021."
Browse files Browse the repository at this point in the history
This reverts commit 1fb888b.
  • Loading branch information
jaraco committed Mar 26, 2024
1 parent dcfa21a commit 73a6486
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 73a6486

Please sign in to comment.