Mpaa added a comment.

  I do not think this task is about banning, it is more about meaning of 
@expectedFailure.
  
  In my view, @expectedFailure should not be used to check for a deliberate 
failure.
  To test that in a given condition, a function is correctly raising an 
exception, the test should be written accordingly and pass.
  @expectedFailure should be used when known bugs are present or similar (e.g. 
# TODO), in order to temporarily force the test case to pass and not to have 
the whole build marked as failed.
  And when the issue is solved, it is probably better to remove it.

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

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

To: Mpaa
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