mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 06:46:15 +00:00
more cleaning
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ export PIPENV_CACHE_DIR=`mktemp -d 2>/dev/null || mktemp -d -t 'pipenv_cache'`
|
||||
|
||||
# on some Linux OS python is python3
|
||||
PYTHON=${PYTHON:-"python"}
|
||||
PIPENV_PYTHON="${PIPENV_PYTHON:-3.7}"
|
||||
PIPENV_PYTHON="${PIPENV_PYTHON:-3.8}"
|
||||
|
||||
PIP_CALL="${PIP_CALL:-${PYTHON} -m pip install --user}"
|
||||
|
||||
|
||||
@@ -104,14 +104,6 @@ def pytest_runtest_setup(item):
|
||||
pytest.skip('test not applicable on python 3.8')
|
||||
if item.get_closest_marker('skip_osx') is not None and sys.platform == 'darwin':
|
||||
pytest.skip('test does not apply on OSX')
|
||||
if item.get_closest_marker('lte_py36') is not None and (
|
||||
sys.version_info >= (3, 7)
|
||||
):
|
||||
pytest.skip('test only runs on python < 3.7')
|
||||
if item.get_closest_marker('skip_py36') is not None and (
|
||||
sys.version_info[:2] == (3, 6)
|
||||
):
|
||||
pytest.skip('test is skipped on python 3.6')
|
||||
if item.get_closest_marker('skip_windows') is not None and (os.name == 'nt'):
|
||||
pytest.skip('test does not run on windows')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user