Skip to content

Commit 5e824ac

Browse files
committed
skip explanation tests in 3.6
1 parent 6042425 commit 5e824ac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/integrations/celery/integration_tests/test_celery_beat_cron_monitoring.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import sys
23
import pytest
34

45
from celery.contrib.testing.worker import start_worker
@@ -8,8 +9,7 @@
89
from tests.integrations.celery.integration_tests import run_beat
910

1011

11-
# REDIS_SERVER = "redis://127.0.0.1:6379"
12-
REDIS_SERVER = "redis://redis:6379"
12+
REDIS_SERVER = "redis://127.0.0.1:6379"
1313
REDIS_DB = 15
1414

1515

@@ -54,6 +54,7 @@ def inner(propagate_traces=True, monitor_beat_tasks=False, **kwargs):
5454

5555

5656
@pytest.mark.forked
57+
@pytest.mark.skipif(sys.version_info < (3, 7), reason="Test requires Python 3.7+")
5758
def test_explanation(celery_init, capture_envelopes):
5859
"""
5960
This is a dummy test for explaining how to test using Celery Beat

0 commit comments

Comments
 (0)