Refactor some call details

This commit is contained in:
Dave Halter
2019-07-05 14:30:59 -07:00
parent a26cb42d07
commit ef9d803ce3
4 changed files with 92 additions and 13 deletions

View File

@@ -127,3 +127,11 @@ def skip_python2(environment):
# This if is just needed to avoid that tests ever skip way more than
# they should for all Python versions.
pytest.skip()
@pytest.fixture()
def skip_pre_python38(environment):
if environment.version_info < (3, 8):
# This if is just needed to avoid that tests ever skip way more than
# they should for all Python versions.
pytest.skip()