diff --git a/tests/messages/test_catalog.py b/tests/messages/test_catalog.py index da8ad5577..21c5447e7 100644 --- a/tests/messages/test_catalog.py +++ b/tests/messages/test_catalog.py @@ -455,7 +455,7 @@ def test_catalog_update(): assert len(cat) == 3 msg1 = cat['green'] - msg1.string + assert msg1.string assert msg1.locations == [('main.py', 99)] msg2 = cat['blue'] diff --git a/tests/test_support.py b/tests/test_support.py index 493d55151..92188a4cb 100644 --- a/tests/test_support.py +++ b/tests/test_support.py @@ -291,7 +291,7 @@ def raise_attribute_error(): proxy = support.LazyProxy(raise_attribute_error) with pytest.raises(AttributeError) as exception: - proxy.value + _ = proxy.value assert str(exception.value) == 'message'