Skip to content

Commit

Permalink
ignore older versions of python for drf test
Browse files Browse the repository at this point in the history
  • Loading branch information
trbs committed Jul 19, 2019
1 parent 677d54c commit 96ab1d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/management/commands/test_pipchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import sys

import pip
import pytest
from django.core.management import call_command
from django.test import TestCase
from six import StringIO
Expand Down Expand Up @@ -57,6 +58,7 @@ def test_pipchecker_with_outdated_requirement(self):

self.assertTrue(value.endswith('available\n'))

@pytest.mark.skipif(sys.version_info < (3, 6), reason="requires python3.6 or higher")
def test_pipchecker_with_up_to_date_requirement(self):
requirements_path = './requirements.txt'
out = StringIO()
Expand Down

0 comments on commit 96ab1d2

Please sign in to comment.