From: Joseph Sutton Date: Tue, 23 Nov 2021 22:53:18 +0000 (+1300) Subject: tests/krb5: Remove unused variable X-Git-Tag: samba-4.14.14~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a4ed078902dcc57ab14f701c88e76ec0ac375e7;p=thirdparty%2Fsamba.git tests/krb5: Remove unused variable Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett (cherry picked from commit 57b1b76154d699b9d70ad04fa5e94c4b30f0e4bf) --- diff --git a/python/samba/tests/krb5/raw_testcase.py b/python/samba/tests/krb5/raw_testcase.py index 42f2e94f5aa..36a6134e6c9 100644 --- a/python/samba/tests/krb5/raw_testcase.py +++ b/python/samba/tests/krb5/raw_testcase.py @@ -2855,7 +2855,6 @@ class RawKerberosTest(TestCaseInTempDir): expect_etype_info2 = () expect_etype_info = False - unexpect_etype_info = True expected_aes_type = 0 expected_rc4_type = 0 if kcrypto.Enctype.RC4 in proposed_etypes: @@ -2868,7 +2867,6 @@ class RawKerberosTest(TestCaseInTempDir): if etype > expected_aes_type: expected_aes_type = etype if etype in (kcrypto.Enctype.RC4,) and error_code != 0: - unexpect_etype_info = False if etype > expected_rc4_type: expected_rc4_type = etype