Skip to content

Commit 6a59bcc

Browse files
committed
Answer the two complaints the checker makes about the tests
1 parent 2ec73f0 commit 6a59bcc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_core/test_event_proxy.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ async def test_a_proxy_is_not_a_container():
593593
with pytest.raises(TypeError):
594594
event_object["target"]
595595
with pytest.raises(TypeError):
596-
"type" in event_object
596+
assert "type" in event_object
597597
with pytest.raises(TypeError):
598598
len(event_object)
599599
with pytest.raises(TypeError):
@@ -1406,7 +1406,7 @@ async def test_requests_may_not_pile_up_on_a_client_which_is_not_answering(monke
14061406
which kept reading while the browser had gone, accumulated them without end.
14071407
"""
14081408
monkeypatch.setattr("reactpy._event_proxy.PENDING_LIMIT", 2)
1409-
backend, client = make_client(make_objects(), respond=False)
1409+
backend, _client = make_client(make_objects(), respond=False)
14101410
event_object = make_event(backend, "evt")
14111411

14121412
waiting = [

0 commit comments

Comments
 (0)