Skip to content

Commit 4868e3f

Browse files
committed
set conditional execution on python >= 3.9 on backup tests
1 parent 6c1d1c0 commit 4868e3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

django_typer/tests/test_backup_example.py

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

35
from django.test import SimpleTestCase
46
from pathlib import Path
@@ -9,6 +11,7 @@
911
BACKUP_DIRECTORY = Path(__file__).parent / "_test_archive"
1012

1113

14+
@pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9 or higher")
1215
class TestBackupExample(SimpleTestCase):
1316
databases = {"default"}
1417

0 commit comments

Comments
 (0)