diff --git a/OMPython/OMCSession.py b/OMPython/OMCSession.py index 6b5b2b3d..06005462 100644 --- a/OMPython/OMCSession.py +++ b/OMPython/OMCSession.py @@ -407,13 +407,6 @@ def size(self) -> int: raise OMCSessionException(f"Error reading file size for path {self.as_posix()}!") - def stat(self): - """ - The function stat() cannot be implemented using OMC. - """ - raise NotImplementedError("The function stat() cannot be implemented using OMC; " - "use size() to get the file size.") - if sys.version_info < (3, 12):