mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
A few test optimizations; using native unittest where no Django-specific TestCase features are required.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
67df1a5002
commit
ec3ba39fdb
13 changed files with 31 additions and 30 deletions
|
@ -1,7 +1,8 @@
|
|||
from django.test import TestCase
|
||||
import unittest
|
||||
|
||||
from django.utils.datastructures import SortedDict
|
||||
|
||||
class DatastructuresTests(TestCase):
|
||||
class DatastructuresTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.d1 = SortedDict()
|
||||
self.d1[7] = 'seven'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue