Skip to content

Commit 3be78aa

Browse files
test(tox): Unpin pytest for celery tests
1 parent 1ce7c31 commit 3be78aa

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

tests/integrations/celery/test_celery.py

+8
Original file line numberDiff line numberDiff line change
@@ -831,3 +831,11 @@ def test_send_task_wrapped(
831831
assert span["description"] == "very_creative_task_name"
832832
assert span["op"] == "queue.submit.celery"
833833
assert span["trace_id"] == kwargs["headers"]["sentry-trace"].split("-")[0]
834+
835+
836+
@pytest.mark.skip(reason="placeholder so that forked test does not come last")
837+
def test_placeholder():
838+
"""Forked tests must not come last in the module.
839+
See https://github.com/pytest-dev/pytest-forked/issues/67#issuecomment-1964718720.
840+
"""
841+
pass

tox.ini

-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ deps =
374374
celery-latest: Celery
375375

376376
celery: newrelic
377-
celery: pytest<7
378377
{py3.7}-celery: importlib-metadata<5.0
379378

380379
# Chalice

0 commit comments

Comments
 (0)