Skip to content

Commit

Permalink
Run on pytest 5 and 6 - 4 is no compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrelg committed Jun 8, 2021
1 parent 41fe775 commit cb87064
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fail-fast: false
matrix:
python-version: [ "3.6", "3.7", "3.8", "3.9" ]
pytest-version: [ "4", "5", "6" ]
pytest-version: [ "5", "6" ]
steps:
- name: Check out repository
uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion src/pytest_split/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
from typing import List, Tuple, Optional, Union

from _pytest import nodes
from _pytest.config import Config, ExitCode

from _pytest.main import ExitCode
from _pytest.config import Config
from _pytest.config.argparsing import Parser

# Ugly hack for freezegun compatibility: https://github.com/spulec/freezegun/issues/286
Expand Down
2 changes: 1 addition & 1 deletion tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os

import pytest
from _pytest.config import ExitCode
from _pytest.main import ExitCode

pytest_plugins = ["pytester"]

Expand Down

0 comments on commit cb87064

Please sign in to comment.