Skip to content

Commit 1bb614c

Browse files
committed
Removed deprecation warning ignore.
Signed-off-by: kimbeelen <[email protected]>
1 parent 2ba78b5 commit 1bb614c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/test_signature_algorithms.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
import pytest
2-
import warnings
32
from cryptography.hazmat.primitives import serialization
43
from cryptography.hazmat.primitives.asymmetric import rsa, dsa, ec, ed25519, ed448
54
from openleadr.messaging import get_signature_algorithm_from_private_key
65

76

8-
def fxn():
9-
warnings.warn("deprecated", DeprecationWarning)
10-
11-
with warnings.catch_warnings(action="ignore"):
12-
fxn()
13-
14-
157
test_keys = {
168
"rsa": rsa.generate_private_key(public_exponent=65537, key_size=2048),
179
"dsa": dsa.generate_private_key(key_size=2048),

0 commit comments

Comments
 (0)