With modern features in python you could change the signature to
assertTrue(expr, *, msg=None)
assert expr, "custom message"