summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-01-09 14:29:03 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-01-09 14:30:00 (GMT)
commit18eb3a8632597d5863e80977e59c2fb4d6d351f3 (patch)
treeb8afdee764dc543270a98bdbe8fb97dac78c488c
parente55455d9138637797e82a81fb2fd2219305ccbf6 (diff)
downloaddjango-mellon-18eb3a8632597d5863e80977e59c2fb4d6d351f3.zip
django-mellon-18eb3a8632597d5863e80977e59c2fb4d6d351f3.tar.gz
django-mellon-18eb3a8632597d5863e80977e59c2fb4d6d351f3.tar.bz2
tests: remove django < 1.8 leftovers (#19659)
-rw-r--r--tests/urls_tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/urls_tests.py b/tests/urls_tests.py
index 62494e4..d95e2c0 100644
--- a/tests/urls_tests.py
+++ b/tests/urls_tests.py
@@ -1,6 +1,6 @@
import django
-from django.conf.urls import patterns, url, include
+from django.conf.urls import url, include
from django.http import HttpResponse
@@ -11,6 +11,3 @@ urlpatterns = [
url('^', include('mellon.urls')),
url('^$', homepage, name='homepage'),
]
-
-if django.VERSION < (1, 9):
- urlpatterns = patterns('', *urlpatterns)