Skip to content

Commit

Permalink
Drop the Node alias for the Core class (#3464)
Browse files Browse the repository at this point in the history
The old `Node` class has been deprecated a long time ago. No need
to keep it forever.

Fix #781.
  • Loading branch information
psss authored Jan 13, 2025
1 parent 90b8ddf commit c9b8045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
3 changes: 0 additions & 3 deletions tmt/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c9b8045

Please sign in to comment.