Skip to content

Commit

Permalink
Added deepcopy test for sets
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsch420 committed Oct 4, 2024
1 parent 5980854 commit e5571dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down

0 comments on commit e5571dc

Please sign in to comment.