From e5571dcaa3f69fe5f9a56f007943dd8d7b720247 Mon Sep 17 00:00:00 2001 From: Tom Schierenbeck Date: Fri, 4 Oct 2024 09:47:39 +0200 Subject: [PATCH] Added deepcopy test for sets --- test/test_set.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_set.py b/test/test_set.py index a2073cf..9cec2dd 100644 --- a/test/test_set.py +++ b/test/test_set.py @@ -45,6 +45,11 @@ def test_to_json(self): b = AbstractSimpleSet.from_json(a.to_json()) self.assertEqual(a, b) + def test_copy(self): + a = TestEnum.A + b = a.__deepcopy__() + self.assertEqual(a, b) + class SetTestCase(unittest.TestCase):