From 3c4a3acdf5e7c1bfd59769ce847e551c897fbfb3 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 20 May 2022 14:25:09 -0500 Subject: [PATCH] Remove deprecated use of Taggable.copy in test_tag --- test/test_pytools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_pytools.py b/test/test_pytools.py index cf55eac..8e6ef68 100644 --- a/test/test_pytools.py +++ b/test/test_pytools.py @@ -497,8 +497,8 @@ def test_tag(): # Need a subclass that defines the copy function in order to test. class TaggableWithCopy(Taggable): - def copy(self, **kwargs): - return TaggableWithCopy(kwargs["tags"]) + def _with_new_tags(self, tags): + return TaggableWithCopy(tags) class FairRibbon(Tag): pass -- GitLab