From 74ca3134b1be550f4b5734ee772e46df3bca7130 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 12 Dec 2023 19:34:11 +1300 Subject: [PATCH] =?utf8?q?python:tests:=20Don=E2=80=99t=20needlessly=20cre?= =?utf8?q?ate=20single=E2=80=90element=20tuple?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- python/samba/tests/smbconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/tests/smbconf.py b/python/samba/tests/smbconf.py index 923b33544bf..ce5f8513b58 100644 --- a/python/samba/tests/smbconf.py +++ b/python/samba/tests/smbconf.py @@ -340,7 +340,7 @@ class SMBConfTests(samba.tests.TestCase): def test_error_no_such_service(self): sconf = self.smbconf.init_txt(self.example_conf_default) with self.assertRaises(self.smbconf.SMBConfError) as raised: - sconf.get_share("zilch"), + sconf.get_share("zilch") self.assertEqual( self.smbconf.SBC_ERR_NO_SUCH_SERVICE, raised.exception.error_code) -- 2.47.3