Skip to content

Commit

Permalink
ci: don't test gevent on pypy (#3830)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt authored Feb 13, 2024
1 parent fbfeb2f commit e308c8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ classifiers = [

[project.optional-dependencies]
dev = [
"gevent>=22.10.2",
"gevent>=22.10.2; implementation_name == 'cpython'",
"hypothesis>=3.55",
"pytest-asyncio>=0.21",
"pytest-benchmark>=3.4",
Expand Down
3 changes: 2 additions & 1 deletion pytests/tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import platform
import sys

import gevent
import pyo3_pytests.misc
import pytest

Expand Down Expand Up @@ -83,6 +82,8 @@ def __del__(self):


def test_gevent():
gevent = pytest.importorskip("gevent")

def worker(worker_id: int) -> None:
for iteration in range(2):
d = {"key": ArbitraryClass(worker_id, iteration)}
Expand Down

0 comments on commit e308c8d

Please sign in to comment.