0
0
mirror of https://github.com/django/django.git synced 2024-11-28 10:48:32 +01:00

Imported unittest from django.utils in util_tests

Without this, the 'new' assertion methods are not present with
Python 2.6.
This commit is contained in:
Claude Paroz 2013-04-01 19:58:16 +02:00
parent dcf563071f
commit 2817a29d90

View File

@ -2,13 +2,13 @@ from __future__ import unicode_literals
from datetime import datetime
import os
import unittest
from django.utils import html
from django.utils._os import upath
from django.utils.unittest import TestCase
class TestUtilsHtml(unittest.TestCase):
class TestUtilsHtml(TestCase):
def check_output(self, function, value, output=None):
"""