Remove another call to addUnexpectedSuccess with too many arguments.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 1 Feb 2015 22:20:42 +0000 (23:20 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 6 Mar 2015 03:41:49 +0000 (04:41 +0100)
Change-Id: I5f1917e74ffd57b5ae228231c27fbdf70de2992f
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/subunithelper.py

index c065e9e..948256d 100644 (file)
@@ -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: