• 
      

    Improve output when failing an assertWarnings().

    Review Request #14699 — Created Nov. 18, 2025 and submitted — Latest diff uploaded

    Information

    Djblets
    release-5.x

    Reviewers

    Previously, when assertWarnings() found fewer or more warnings than
    expected, the only result we'd get was an assertion error showing the
    mismatched lengths.

    Now, any mismatches between expected and actual warnings will result in
    a full list of the mismatches, helping with diagnosing which warnings
    were missing or added.

    Unit tests pass.

    Tested this with an assertion error I hit. Verified I got a more useful
    warnings display.

    Commits

    Files