Skip to content

Commit 184e36f

Browse files
committed
skip eventlet, not yet supported on python 3.12
will work again, should still be reverted when stdlib conflict resolved in eventlet
1 parent b39c5b7 commit 184e36f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/workers/test_geventlet.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,15 @@
33
# This file is part of gunicorn released under the MIT license.
44
# See the NOTICE for more information.
55

6+
import pytest
7+
import sys
8+
69
def test_import():
10+
11+
try:
12+
import eventlet
13+
except AttributeError:
14+
if (3,13) > sys.version_info >= (3, 12):
15+
pytest.skip("Ignoring eventlet failures on Python 3.12")
16+
raise
717
__import__('gunicorn.workers.geventlet')

0 commit comments

Comments
 (0)