Skip to content

Commit dfd3da2

Browse files
committed
[soc2010/test-refactor] update expressions test to use unittest2 assertItemsEqual
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/test-refactor@13414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent c298937 commit dfd3da2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/modeltests/expressions/tests.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
class ExpressionsTestCase(TestCase):
99
fixtures = ['f_expression_testdata.json']
1010

11-
def assertItemsEqual(self, a, b):
12-
#fixme, replace with unittest2 function
13-
return self.assertEqual(sorted(a), sorted(b))
14-
1511
def test_basic_f_expression(self):
1612
company_query = Company.objects.values('name','num_employees',
1713
'num_chairs'

0 commit comments

Comments
 (0)