PyTest test any expression
examples/pytest/test_expression_equal.py
def test_expression_equal(): a = 3 assert a % 2 == 0
$ pytest test_expression_equal.py def test_expression_equal(): a = 3 > assert a % 2 == 0 E assert (3 % 2) == 0
def test_expression_equal(): a = 3 assert a % 2 == 0
$ pytest test_expression_equal.py def test_expression_equal(): a = 3 > assert a % 2 == 0 E assert (3 % 2) == 0