From ec4b164de3eed1435dc5a6119c36cee13efb75d6 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Sat, 17 Sep 2016 17:14:07 -0700 Subject: [PATCH] Fixed pytest --- .travis.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1db4d2d..a96a9af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ before_install: install: - | if [ "$TEST_TYPE" = build ]; then - pip install pytest pytest-cov pytest-benchmark coveralls six pytest-django mock django-filter + pip install pytest==3.0.2 pytest-cov pytest-benchmark coveralls six pytest-django mock django-filter pip install -e . python setup.py develop elif [ "$TEST_TYPE" = lint ]; then diff --git a/setup.py b/setup.py index 33dab3b..0369fd0 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ setup( ], tests_require=[ 'django-filter>=0.10.0', - 'pytest>=3.0', + 'pytest', 'pytest-django', 'mock', # Required for Django postgres fields testing