Kaydet (Commit) c21b832c authored tarafından Ian Foote's avatar Ian Foote Kaydeden (comit) Tim Graham

Fixed typo in docs/topics/testing/tools.txt

üst 67c063e6
...@@ -619,13 +619,13 @@ then you should use :class:`~django.test.TransactionTestCase` or ...@@ -619,13 +619,13 @@ then you should use :class:`~django.test.TransactionTestCase` or
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):
super(cls, MyTestCase).setUpClass() # Call parent first super(MyTestCase, cls).setUpClass() # Call parent first
... ...
@classmethod @classmethod
def tearDownClass(cls): def tearDownClass(cls):
... ...
super(cls, MyTestCase).tearDownClass() # Call parent last super(MyTestCase, cls).tearDownClass() # Call parent last
TransactionTestCase TransactionTestCase
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment