diff --git a/src/_pytest/compat.py b/src/_pytest/compat.py index addb2ad13..d0cb07b22 100644 --- a/src/_pytest/compat.py +++ b/src/_pytest/compat.py @@ -342,12 +342,6 @@ else: return f -# TODO: sealed classes are not supported yet -# https://github.com/mypyc/mypyc/issues/846 -def sealed(f: _T) -> _T: - return f - - if sys.version_info >= (3, 8): from functools import cached_property as cached_property else: