Skip to content

Commit

Permalink
Make pytype happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkjt2000 committed Jun 15, 2021
1 parent b50ac36 commit ffd2687
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mcstatus/tests/protocol/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def test_write(self):

# pytype: disable=attribute-error
self.connection.socket.send.assert_called_once_with(bytearray.fromhex("7FAA"))
# pytype: enable=attribute-error


class UDPSocketConnectionTest:
Expand Down Expand Up @@ -277,3 +278,4 @@ def test_write(self):

# pytype: disable=attribute-error
self.connection.socket.sendto.assert_called_once_with(bytearray.fromhex("7FAA"), ("localhost", 1234))
# pytype: enable=attribute-error

0 comments on commit ffd2687

Please sign in to comment.