[PATCH 51/55] Remove another call to addUnexpectedSuccess with too many arguments.

Jelmer Vernooij jelmer at samba.org
Fri Feb 6 12:04:23 MST 2015


Change-Id: I5f1917e74ffd57b5ae228231c27fbdf70de2992f
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
---
 selftest/subunithelper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/selftest/subunithelper.py b/selftest/subunithelper.py
index c065e9e..948256d 100644
--- a/selftest/subunithelper.py
+++ b/selftest/subunithelper.py
@@ -348,7 +348,7 @@ class FilterOps(unittest.TestResult):
         if xfail_reason is not None:
             self.uxsuccess_added += 1
             self.total_uxsuccess += 1
-            self._ops.addUnexpectedSuccess(test, subunit.RemoteError(xfail_reason))
+            self._ops.addUnexpectedSuccess(test)
             if self.output:
                 self._ops.output_msg(self.output)
             if self.fail_immediately:
-- 
2.1.4



More information about the samba-technical mailing list