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

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

Backport of c21b832c from master
üst 6a7b27c7
...@@ -625,13 +625,13 @@ then you should use :class:`~django.test.TransactionTestCase` or ...@@ -625,13 +625,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