Xqt added a comment.

  @jayvdb: expectedFailure decorator and assertRaises(Exception) as you 
mentioned above are not equivalent. expectedFailure always passes tests; it 
counts either 'expected failures' or 'unexpected success'. Whereas 
assertRaises(Exception) passes test if an exception occurred otherwise it fails 
the tests with 'Exception not raised'.

TASK DETAIL
  https://phabricator.wikimedia.org/T129368

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Mpaa, gerritbot, valhallasw, jayvdb, Aklapper, Xqt, pywikibot-bugs-list



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to