Browse files

Fixed #15828 -- Removed explicit implementation of empty setUp / tear…

…Down methods. Backport of

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent ef92619 commit 1d54e3a95676e04ef3bcf7a251ba5a425d7e583f @aaugustin aaugustin committed Jan 27, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 django/utils/unittest/
@@ -241,9 +241,6 @@ def addCleanup(self, function, *args, **kwargs):
Cleanup items are called even if setUp fails (unlike tearDown)."""
self._cleanups.append((function, args, kwargs))
- def setUp(self):
- "Hook method for setting up the test fixture before exercising it."
def setUpClass(cls):
"Hook method for setting up class fixture before running tests in the class."
@@ -252,9 +249,6 @@ def setUpClass(cls):
def tearDownClass(cls):
"Hook method for deconstructing the class fixture after running all tests in the class."
- def tearDown(self):
- "Hook method for deconstructing the test fixture after testing it."
def countTestCases(self):
return 1

0 comments on commit 1d54e3a

Please sign in to comment.