[1.8.x] Fixed typo in docs/topics/testing/tools.txt

Backport of c21b832c12 from master
This commit is contained in:
Ian Foote 2015-05-09 12:07:00 +01:00 committed by Tim Graham
parent 6a7b27c743
commit e7b703d050
1 changed files with 2 additions and 2 deletions

View File

@ -625,13 +625,13 @@ then you should use :class:`~django.test.TransactionTestCase` or
@classmethod
def setUpClass(cls):
super(cls, MyTestCase).setUpClass() # Call parent first
super(MyTestCase, cls).setUpClass() # Call parent first
...
@classmethod
def tearDownClass(cls):
...
super(cls, MyTestCase).tearDownClass() # Call parent last
super(MyTestCase, cls).tearDownClass() # Call parent last
TransactionTestCase
~~~~~~~~~~~~~~~~~~~