summaryrefslogtreecommitdiff
path: root/testlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'testlib.py')
-rw-r--r--testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testlib.py b/testlib.py
index 691c938..76efcc5 100644
--- a/testlib.py
+++ b/testlib.py
@@ -896,7 +896,7 @@ succeeded tests into", osp.join(os.getcwd(),FILE_RESTART)
result = self.testRunner.run(self.test)
if hasattr(self.module, 'teardown_module'):
try:
- self.module.teardown_module(self.options)
+ self.module.teardown_module(self.options, result)
except Exception, exc:
print 'teardown_module error:', exc
sys.exit(1)