Skip to content

Commit dd6c5d1

Browse files
committed
Force pytest-django verison for testing compatibility with Django 1.6
1 parent 459e390 commit dd6c5d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ before_install:
2222
install:
2323
- |
2424
if [ "$TEST_TYPE" = build ]; then
25-
pip install pytest==3.0.2 pytest-cov pytest-benchmark coveralls six pytest-django mock django-filter
25+
pip install pytest==3.0.2 pytest-cov pytest-benchmark coveralls six pytest-django==2.9.1 mock django-filter
2626
pip install django==$DJANGO_VERSION
2727
pip install -e .
2828
python setup.py develop

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
tests_require=[
4343
'django-filter>=0.10.0',
4444
'pytest',
45-
'pytest-django',
45+
'pytest-django==2.9.1',
4646
'mock',
4747
# Required for Django postgres fields testing
4848
'psycopg2',

0 commit comments

Comments
 (0)