diff --git a/test_miniirc.py b/test_miniirc.py index cee2932..c4b808d 100644 --- a/test_miniirc.py +++ b/test_miniirc.py @@ -257,7 +257,7 @@ def wrapper(self, *args, **kwargs): class fakesocket(socket.socket): @catch_errors - def __init__(self, __family, __type): + def __init__(self, __family, __type, *args): assert __family in (socket.AF_INET, socket.AF_INET6) assert __type == socket.SOCK_STREAM