Skip to content

Commit 1df857d

Browse files
use latest django for python 3.8. by Giles and Filip
1 parent a5ccf72 commit 1df857d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_django_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def test_actually_produces_wsgi_file_that_can_import_project_non_nested(
287287
running_python_version = ".".join(python_version().split(".")[:2])
288288
project = DjangoProject("mydomain.com", running_python_version)
289289
shutil.copytree(str(non_nested_submodule), str(project.project_path))
290-
if running_python_version == "3.7":
290+
if running_python_version in ["3.7", "3.8"]:
291291
project.create_virtualenv(django_version="latest")
292292
else:
293293
project.create_virtualenv()
@@ -306,7 +306,7 @@ def test_actually_produces_wsgi_file_that_can_import_nested_project(
306306
running_python_version = ".".join(python_version().split(".")[:2])
307307
project = DjangoProject("mydomain.com", running_python_version)
308308
shutil.copytree(str(more_nested_submodule), str(project.project_path))
309-
if running_python_version == "3.7":
309+
if running_python_version in ["3.7", "3.8"]:
310310
project.create_virtualenv(django_version="latest")
311311
else:
312312
project.create_virtualenv()

0 commit comments

Comments
 (0)