summaryrefslogtreecommitdiffstats
path: root/tests/urls_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/urls_tests.py')
-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)