Commit 3a34f71d authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Removed obsolete hack to run template tests.

parent 06615d0d
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.conf import settings

if __name__ == '__main__':
    # When running this file in isolation, we need to set up the configuration
    # before importing 'template'.
    settings.configure()

from datetime import date, datetime
import os
import sys
@@ -16,6 +9,7 @@ import unittest
import warnings

from django import template
from django.conf import settings
from django.core import urlresolvers
from django.template import (base as template_base, loader, Context,
    RequestContext, Template, TemplateSyntaxError)