From 6878126b6f53cdf7daeeaf68116dda008564c2fa Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 20 Sep 2018 17:30:48 +0200 Subject: python: Fix a couple of syntax errors. * lang/python/tests/t-keylist-from-data.py: Add missing line continuation. * lang/python/tests/t-keylist.py: Ditto. * lang/python/tests/t-quick-key-creation.py: Ditto. * lang/python/tests/t-quick-subkey-creation.py: Ditto. Signed-off-by: Werner Koch --- lang/python/tests/t-quick-subkey-creation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lang/python/tests/t-quick-subkey-creation.py') diff --git a/lang/python/tests/t-quick-subkey-creation.py b/lang/python/tests/t-quick-subkey-creation.py index 30424c19..cdbb71be 100755 --- a/lang/python/tests/t-quick-subkey-creation.py +++ b/lang/python/tests/t-quick-subkey-creation.py @@ -60,8 +60,10 @@ with support.EphemeralContext() as ctx: "subkeys expiration time is off" # Check capabilities - for sign, encrypt, authenticate in itertools. - product([False, True], [False, True], [False, True]): + for sign, encrypt, authenticate \ + in itertools.product([False, True], + [False, True], + [False, True]): # Filter some out if not (sign or encrypt or authenticate): # This triggers the default capabilities tested before. -- cgit v1.2.3