We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0367fb commit 503ed1aCopy full SHA for 503ed1a
tests/messages/test_catalog.py
@@ -455,7 +455,7 @@ def test_catalog_update():
455
assert len(cat) == 3
456
457
msg1 = cat['green']
458
- msg1.string
+ assert not msg1.string
459
assert msg1.locations == [('main.py', 99)]
460
461
msg2 = cat['blue']
tests/test_support.py
@@ -291,7 +291,7 @@ def raise_attribute_error():
291
292
proxy = support.LazyProxy(raise_attribute_error)
293
with pytest.raises(AttributeError) as exception:
294
- proxy.value
+ _ = proxy.value
295
296
assert str(exception.value) == 'message'
297
0 commit comments