From: Andrew Bartlett Date: Tue, 2 Apr 2024 19:26:04 +0000 (+1300) Subject: python/tests/krb5: Remove unused utf16pw variable X-Git-Tag: tdb-1.4.11~417 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85f4c661b14cf3b007fa1dae2b08464055ca025;p=thirdparty%2Fsamba.git python/tests/krb5: Remove unused utf16pw variable Signed-off-by: Andrew Bartlett Reviewed-by: Jo Sutton --- diff --git a/python/samba/tests/krb5/kdc_base_test.py b/python/samba/tests/krb5/kdc_base_test.py index 8edfb75ff85..976e80e035f 100644 --- a/python/samba/tests/krb5/kdc_base_test.py +++ b/python/samba/tests/krb5/kdc_base_test.py @@ -894,7 +894,6 @@ class KDCBaseTest(TestCaseInTempDir, RawKerberosTest): domain = samdb.domain_netbios_name().upper() password = generate_random_password(32, 32) - utf16pw = ('"%s"' % password).encode('utf-16-le') try: net_ctx.set_password(newpassword=password,