diff options
Diffstat (limited to 'tests/errors/errors.test.py')
| -rw-r--r-- | tests/errors/errors.test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/errors/errors.test.py b/tests/errors/errors.test.py index 5b48165..74acaa4 100644 --- a/tests/errors/errors.test.py +++ b/tests/errors/errors.test.py @@ -129,8 +129,10 @@ def test_must_have_a_smaller_value_reports_the_codepoints(): error = MustHaveASmallerValueError("z", "a") text = str(error) assert "range bounds are inverted" in text - assert "'z'" in text and "'a'" in text - assert "= 122" in text and "= 97" in text + assert "'z'" in text + assert "'a'" in text + assert "= 122" in text + assert "= 97" in text def test_must_be_less_than(): |
