Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 05beb19

Browse files
committed
Fixup linting errors in test/test_socket.py.
1 parent cf13426 commit 05beb19

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/test_socket.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
from hyper.common.bufsocket import BufferedSocket
1212
from hyper.common.exceptions import ConnectionResetError, LineTooLongError
1313

14+
1415
# Patch the select method in bufsocket to make sure that it always returns
1516
# the dummy socket as readable.
1617
def dummy_select(a, b, c, d):
1718
return a
1819

20+
1921
class TestBufferedSocket(object):
2022
"""
2123
Tests of the hyper BufferedSocket object.
@@ -86,7 +88,9 @@ def test_receive_multiple_packets_at_once(self, monkeypatch):
8688
)
8789
s = DummySocket()
8890
b = BufferedSocket(s)
89-
s.inbound_packets = [b'Here', b'begins', b'the', b'test', b'data', b'!']
91+
s.inbound_packets = [
92+
b'Here', b'begins', b'the', b'test', b'data', b'!'
93+
]
9094
s.read_count = 3
9195

9296
d = b''

0 commit comments

Comments
 (0)