Page MenuHomePhabricator

[build-bot] Use unittest.assert* instead of plain asserts
ClosedPublic

Authored by jasonbcox on Oct 21 2020, 17:26.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCab27bf8d7a87: [build-bot] Use unittest.assert* instead of plain asserts
Summary

Using the unittest module's assert methods provides more informative
and/or easier to understand error messages. We already use them in most places,
so this diff cleans up the remaining ones.

There is no change in behavior.

Test Plan

pytest

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable