From cb96e7fd0f9f32505579577a80ef1a5af0f68a09 Mon Sep 17 00:00:00 2001 From: "d.kovalenko" Date: Sat, 19 Sep 2026 23:09:22 +0300 Subject: [PATCH] OsProcessController is updated (error messages) --- src/os_ops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os_ops.py b/src/os_ops.py index ee99764..9fd0805 100644 --- a/src/os_ops.py +++ b/src/os_ops.py @@ -46,10 +46,10 @@ def get_default_encoding(): class OsProcessController: def __enter__(self) -> OsProcessController: - RaiseError.PropertyIsNotImplemented(__class__, "__enter__") + RaiseError.MethodIsNotImplemented(__class__, "__enter__") def __exit__(self, exc_type, value, traceback) -> typing.Optional[bool]: - RaiseError.PropertyIsNotImplemented(__class__, "__exit__") + RaiseError.MethodIsNotImplemented(__class__, "__exit__") @property def args(self) -> T_OS_CMD: