diff options
| author | Werner Koch <[email protected]> | 2018-09-20 15:30:48 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2018-09-20 15:45:07 +0000 | 
| commit | 6878126b6f53cdf7daeeaf68116dda008564c2fa (patch) | |
| tree | 776083d9c24dedd2b25b5e72405f641a9e29a4b3 /lang/python/tests/t-quick-subkey-creation.py | |
| parent | python: Silence a few warnings. (diff) | |
| download | gpgme-6878126b6f53cdf7daeeaf68116dda008564c2fa.tar.gz gpgme-6878126b6f53cdf7daeeaf68116dda008564c2fa.zip | |
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 <[email protected]>
Diffstat (limited to '')
| -rwxr-xr-x | lang/python/tests/t-quick-subkey-creation.py | 6 | 
1 files changed, 4 insertions, 2 deletions
| 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. | 
