Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Imported unittest from django.utils in util_tests

Without this, the 'new' assertion methods are not present with
Python 2.6.
  • Loading branch information...
1 parent dcf5630 commit 2817a29d9059886b163e72ab03f9012fa938645b @claudep claudep committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/utils_tests/
4 tests/utils_tests/
@@ -2,13 +2,13 @@
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):

0 comments on commit 2817a29

Please sign in to comment.
Something went wrong with that request. Please try again.