test: remove type: comments in favour of actual annotations

test: remove type: comments in favour of actual annotations

Now that we require Python 3.6+, we should be using variable type
annotations directly rather than # type: comments.

Also takes care of the discarded value issue in p2p_message_capture.py.
See: https://github.com/bitcoin/bitcoin/pull/19509/files#r571674446.

情報元 - test: remove type: comments in favour of actual annotations · bitcoin/[email protected] · GitHub

test: remove type: comments in favour of actual annotations · bitcoin/bitcoin@9913419 · GitHub
スポンサーリンク

シェアする

フォローする

スポンサーリンク

トップへ戻る