Skip to content

Commit

Permalink
Readd the whole thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Cohen committed Sep 9, 2021
1 parent 15e7b21 commit 1306e13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ax/utils/common/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ def run(
self, result: Optional[unittest.result.TestResult] = ...
) -> Optional[unittest.result.TestResult]:
result = super().run(result)
self.assertTrue(
self.setUp_called, "`_callSetUp` must call `super()._callSetUp()`"
)
return result

def _callTearDown(self) -> None:
Expand Down

0 comments on commit 1306e13

Please sign in to comment.