Rephrase error message.

pull/46/head
Anthony Hu 2023-11-27 11:40:24 -05:00
parent 9573327f65
commit 2da4d19d95
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class WolfSSLMethod(object): # pylint: disable=too-few-public-methods
_lib.wolfDTLSv1_3_client_method()
if self.native_object == _ffi.NULL:
raise MemoryError("Unnable to allocate method object")
raise MemoryError("Cannot allocate method object")
def __del__(self):
if getattr(self, 'native_object', _ffi.NULL) != _ffi.NULL: