diff options
author | Clint Byrum <clint@fewbar.com> | 2015-05-15 10:52:33 -0700 |
---|---|---|
committer | Clint Byrum <clint@fewbar.com> | 2015-05-15 11:52:15 -0700 |
commit | 99911f6c4c7d51071f70709e55fabcd2e6853284 (patch) | |
tree | 9ae82d0d6c11e05bd9bd152c94993d21f744b252 /tests/test_42_enc.py | |
parent | 4ef44631df5426e0b4808b1c79b51a37eb026a76 (diff) | |
download | pysaml2-99911f6c4c7d51071f70709e55fabcd2e6853284.tar.gz |
Fix python3 syntax errors
Retains python2.7 compatibility for all files. Fixes only syntax errors,
tests still fail on python3 for various reasons.
Diffstat (limited to 'tests/test_42_enc.py')
-rw-r--r-- | tests/test_42_enc.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_42_enc.py b/tests/test_42_enc.py index 71934d02..b0589b9c 100644 --- a/tests/test_42_enc.py +++ b/tests/test_42_enc.py @@ -26,7 +26,7 @@ AUTHN = { def test_pre_enc(): tmpl = pre_encryption_part() - print tmpl + print(tmpl) assert "%s" % tmpl == TMPL @@ -41,7 +41,7 @@ def test_reshuffle_response(): resp2 = pre_encrypt_assertion(resp_) - print resp2 + print(resp2) assert resp2.encrypted_assertion.extension_elements @@ -75,7 +75,7 @@ def test_enc1(): (_stdout, _stderr, output) = crypto._run_xmlsec( com_list, [tmpl], exception=EncryptError, validate_output=False) - print output + print(output) assert _stderr == "" assert _stdout == "" @@ -94,7 +94,7 @@ def test_enc2(): enc_resp = crypto.encrypt_assertion(resp_, full_path("pubkey.pem"), pre_encryption_part()) - print enc_resp + print(enc_resp) assert enc_resp if __name__ == "__main__": |