Skip to content

Commit e0edbf7

Browse files
committed
Skip more tests
1 parent 5e824ac commit e0edbf7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integrations/celery/integration_tests/test_celery_beat_cron_monitoring.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def inner(propagate_traces=True, monitor_beat_tasks=False, **kwargs):
5353
return inner
5454

5555

56+
@pytest.mark.skipif(sys.version_info < (3, 7), reason="Requires Python 3.7+")
5657
@pytest.mark.forked
57-
@pytest.mark.skipif(sys.version_info < (3, 7), reason="Test requires Python 3.7+")
5858
def test_explanation(celery_init, capture_envelopes):
5959
"""
6060
This is a dummy test for explaining how to test using Celery Beat
@@ -92,6 +92,7 @@ def test_task():
9292
assert len(envelopes) >= 0
9393

9494

95+
@pytest.mark.skipif(sys.version_info < (3, 7), reason="Requires Python 3.7+")
9596
@pytest.mark.forked
9697
def test_beat_task_crons_success(celery_init, capture_envelopes):
9798
app = celery_init(
@@ -124,6 +125,7 @@ def test_task():
124125
assert check_in["status"] == "ok"
125126

126127

128+
@pytest.mark.skipif(sys.version_info < (3, 7), reason="Requires Python 3.7+")
127129
@pytest.mark.forked
128130
def test_beat_task_crons_error(celery_init, capture_envelopes):
129131
app = celery_init(

0 commit comments

Comments
 (0)