summaryrefslogtreecommitdiff
path: root/tests/_test_80_p11_backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/_test_80_p11_backend.py')
-rw-r--r--tests/_test_80_p11_backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/_test_80_p11_backend.py b/tests/_test_80_p11_backend.py
index 475eeb83..ea0ef4b4 100644
--- a/tests/_test_80_p11_backend.py
+++ b/tests/_test_80_p11_backend.py
@@ -202,7 +202,7 @@ class TestPKCS11:
logging.debug(out)
rv = proc.wait()
if rv:
- raise RuntimeError("command exited with code != 0: %d" % rv)
+ raise RuntimeError(f"command exited with code != 0: {int(rv)}")
def test_SAML_sign_with_pkcs11(self):
"""