From c9b804505556c012705afbf733183a9ed0c58b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Mon, 13 Jan 2025 19:17:15 +0100 Subject: [PATCH] Drop the `Node` alias for the `Core` class (#3464) The old `Node` class has been deprecated a long time ago. No need to keep it forever. Fix #781. --- docs/releases.rst | 3 +++ tmt/base.py | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/releases.rst b/docs/releases.rst index 16937b712c..5904ead92c 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -25,6 +25,9 @@ the given job group. The ``note`` field of tmt :ref:`/spec/plans/results` changes from a string to a list of strings, to better accommodate multiple notes. +The ``Node`` alias for the ``Core`` class has been dropped as it +has been deprecated a long time ago. + tmt-1.40.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tmt/base.py b/tmt/base.py index 60c0297b07..cd34533cf0 100644 --- a/tmt/base.py +++ b/tmt/base.py @@ -1035,9 +1035,6 @@ def has_link(self, needle: 'LinkNeedle') -> bool: return self.link.has_link(needle=needle) -Node = Core - - @dataclasses.dataclass(repr=False) class Test( Core,