From 164e41961388bf742f9d9cff59ccceaf35253468 Mon Sep 17 00:00:00 2001 From: Steph Prince <40640337+stephprince@users.noreply.github.com> Date: Mon, 11 Nov 2024 09:59:58 -0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ryan Ly --- tests/unit/test_container.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_container.py b/tests/unit/test_container.py index 3cfc72ec7..c12247de7 100644 --- a/tests/unit/test_container.py +++ b/tests/unit/test_container.py @@ -181,14 +181,14 @@ def test_slash_restriction(self): self.assertRaises(ValueError, Container, 'bad/name') # check no error raised in construct mode - child_obj = Container.__new__(Container, parent=None, object_id=None, in_construct_mode=True) + child_obj = Container.__new__(Container, in_construct_mode=True) child_obj.__init__('bad/name') def test_colon_restriction(self): self.assertRaises(ValueError, Container, 'bad:name') # check no error raised in construct mode - child_obj = Container.__new__(Container, parent=None, object_id=None, in_construct_mode=True) + child_obj = Container.__new__(Container, in_construct_mode=True) child_obj.__init__('bad:name') def test_set_modified_parent(self):