From 5c5cd489bc11d5fd28747bd4fae2303a6aed93fc Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Fri, 5 Jan 2018 15:41:22 -0800 Subject: [PATCH] Remove new_account check for coverage. --- acme/acme/client.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/acme/acme/client.py b/acme/acme/client.py index 4bafc9525..74fc0de0b 100644 --- a/acme/acme/client.py +++ b/acme/acme/client.py @@ -541,9 +541,6 @@ class ClientV2(ClientBase): :ivar .ClientNetwork net: Client network. """ super(ClientV2, self).__init__(directory=directory, net=net) - if not hasattr(self.directory, 'new_account'): - raise errors.ClientError('ClientV2 initialized with a directory ' - 'that does not support ACME v2') def new_account(self, new_account): """Register.