summaryrefslogtreecommitdiff
path: root/tests/template_tests/tests.py
diff options
context:
space:
mode:
authorPreston Timmons <prestontimmons@gmail.com>2015-02-23 15:30:05 -0600
committerAymeric Augustin <aymeric.augustin@oscaro.com>2015-02-24 14:00:03 +0100
commit8e129b42ad9c9adca599228ae2ad68271fa46d44 (patch)
tree5c6ec689c21ef12bb8918b2d2f9733cda032f25b /tests/template_tests/tests.py
parent32c108a221c54a4f680afe32175d70b5d2e92593 (diff)
Cleaned up template directory handling in template tests.
Diffstat (limited to 'tests/template_tests/tests.py')
-rw-r--r--tests/template_tests/tests.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py
index 9f2726753d..9460cc3f1d 100644
--- a/tests/template_tests/tests.py
+++ b/tests/template_tests/tests.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
-import os
import sys
from django.contrib.auth.models import Group
@@ -10,9 +9,6 @@ from django.template import (
Context, Template, TemplateSyntaxError, engines, loader,
)
from django.test import SimpleTestCase, override_settings
-from django.utils._os import upath
-
-TEMPLATES_DIR = os.path.join(os.path.dirname(upath(__file__)), 'templates')
class TemplateTests(SimpleTestCase):