forked from OSchip/llvm-project
Missed this spot where module.cleanup() can be passed a test instance to
facilitate session recording. This happens inside an instance method where the test instance is well known. llvm-svn: 116649
This commit is contained in:
parent
690fcef762
commit
24d6ea25f8
|
@ -458,7 +458,7 @@ class TestBase(unittest2.TestCase):
|
|||
# Perform registered teardown cleanup.
|
||||
if doCleanup and self.doTearDownCleanup:
|
||||
module = __import__(sys.platform)
|
||||
if not module.cleanup(dictionary=self.dict):
|
||||
if not module.cleanup(self, dictionary=self.dict):
|
||||
raise Exception("Don't know how to do cleanup")
|
||||
|
||||
# See also LLDBTestResult (dotest.py) which is a singlton class derived
|
||||
|
|
Loading…
Reference in New Issue