Skip to content

Commit 307aad4

Browse files
authored
Merge pull request #6233 from readthedocs/stsewd/update-pytest
Update pytest
2 parents c6c918e + c77ded9 commit 307aad4

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

conftest.py renamed to readthedocs/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# -*- coding: utf-8 -*-
21
import pytest
3-
from django.conf import settings
42
from rest_framework.test import APIClient
53

4+
65
try:
76
# TODO: this file is read/executed even when called from ``readthedocsinc``,
87
# so it's overriding the options that we are defining in the ``conftest.py``

requirements/testing.txt

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@
22
-r local-docs-build.txt
33

44
django-dynamic-fixture==2.0.0
5-
# pytest 4.2 is incompatible with pytest-django 3.4.6
6-
pytest==4.1.1 # pyup: <4.2
7-
# pytest-django 3.4.7 break our tests from corporate site
8-
# probably a bug related to overriding django settings in
9-
# previous tests
10-
pytest-django==3.4.6 # pyup: <3.4.7
11-
# pytest-xdist >1.27 requires pytest >4.1
12-
pytest-xdist==1.27.0 # pyup: ignore
5+
pytest==5.2.0
6+
pytest-django==3.5.1
7+
pytest-xdist==1.30.0
138
pytest-cov==2.7.1
149
apipkg==1.5
1510
execnet==1.7.1

0 commit comments

Comments
 (0)