mirror of
https://github.com/romanz/amodem.git
synced 2026-03-30 23:57:54 +08:00
Don't inheric from 'object' (after deprecating Python 2.x support)
This commit is contained in:
@@ -25,7 +25,7 @@ def test_frames():
|
||||
assert util.read_frame(io.BytesIO(f)) == b''.join(msgs)
|
||||
|
||||
|
||||
class FakeSocket(object):
|
||||
class FakeSocket:
|
||||
def __init__(self):
|
||||
self.buf = io.BytesIO()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user