From f6e47b97e84c0ef199ddfe5a1172f20535d75ca7 Mon Sep 17 00:00:00 2001 From: Lukas Puehringer Date: Fri, 5 Jul 2019 11:40:16 +0200 Subject: [PATCH] Remove duplicate doctest lines --- securesystemslib/ed25519_keys.py | 6 ------ securesystemslib/spx_keys.py | 6 ------ 2 files changed, 12 deletions(-) diff --git a/securesystemslib/ed25519_keys.py b/securesystemslib/ed25519_keys.py index caf3233d..cc686a24 100755 --- a/securesystemslib/ed25519_keys.py +++ b/securesystemslib/ed25519_keys.py @@ -201,12 +201,6 @@ def create_signature(public_key, private_key, data, scheme): True >>> scheme == 'ed25519' True - >>> signature, scheme = \ - create_signature(public, private, data, scheme) - >>> securesystemslib.formats.ED25519SIGNATURE_SCHEMA.matches(signature) - True - >>> scheme == 'ed25519' - True public: diff --git a/securesystemslib/spx_keys.py b/securesystemslib/spx_keys.py index 0836ff20..e6248b4e 100755 --- a/securesystemslib/spx_keys.py +++ b/securesystemslib/spx_keys.py @@ -118,12 +118,6 @@ def create_signature(private_key, data, scheme): True >>> scheme == 'spx' True - >>> signature, scheme = \ - create_signature(private, data, scheme) - >>> SPX_SIG_BYTES_SCHEMA.matches(signature) - True - >>> scheme == 'spx' - True private: