blob: d04c300c2076928ce56084dab31359f59913b39d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/tests/workers/test_geventlet.py
+++ b/tests/workers/test_geventlet.py
@@ -3,5 +3,8 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
+import pytest
+pytest.importorskip('eventlet')
+
def test_import():
__import__('gunicorn.workers.geventlet')
--- a/tests/workers/test_ggevent.py
+++ b/tests/workers/test_ggevent.py
@@ -3,5 +3,8 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
+import pytest
+pytest.importorskip('gevent')
+
def test_import():
__import__('gunicorn.workers.ggevent')
|