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:
parent
dcf563071f
commit
2817a29d90
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user