From 2817a29d9059886b163e72ab03f9012fa938645b Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 1 Apr 2013 19:58:16 +0200 Subject: [PATCH] Imported unittest from django.utils in util_tests Without this, the 'new' assertion methods are not present with Python 2.6. --- tests/utils_tests/html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils_tests/html.py b/tests/utils_tests/html.py index c1bddf42c6..a4a2694c91 100644 --- a/tests/utils_tests/html.py +++ b/tests/utils_tests/html.py @@ -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): """