From: Joseph Sutton Date: Tue, 12 Dec 2023 06:34:11 +0000 (+1300) Subject: python:tests: Don’t needlessly create single‐element tuple X-Git-Tag: talloc-2.4.2~220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=74ca3134b1be550f4b5734ee772e46df3bca7130;p=thirdparty%2Fsamba.git python:tests: Don’t needlessly create single‐element tuple Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- 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)