mirror of https://github.com/django/django.git
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