mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 02:49:12 +08:00
skip eventlet, not yet supported on python 3.12
will work again, should still be reverted when stdlib conflict resolved in eventlet
This commit is contained in:
parent
b39c5b7ebb
commit
184e36f9da
@ -3,5 +3,15 @@
|
||||
# This file is part of gunicorn released under the MIT license.
|
||||
# See the NOTICE for more information.
|
||||
|
||||
import pytest
|
||||
import sys
|
||||
|
||||
def test_import():
|
||||
|
||||
try:
|
||||
import eventlet
|
||||
except AttributeError:
|
||||
if (3,13) > sys.version_info >= (3, 12):
|
||||
pytest.skip("Ignoring eventlet failures on Python 3.12")
|
||||
raise
|
||||
__import__('gunicorn.workers.geventlet')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user