summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mfex_fuzzy.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mfex_fuzzy.py b/tests/mfex_fuzzy.py
index 15f7f4e51..30028ba7a 100755
--- a/tests/mfex_fuzzy.py
+++ b/tests/mfex_fuzzy.py
@@ -3,12 +3,13 @@
import sys
import warnings
-import cryptography
+from cryptography.utils import CryptographyDeprecationWarning
warnings.filterwarnings(
"ignore",
- category=cryptography.CryptographyDeprecationWarning,
+ category=CryptographyDeprecationWarning,
message=r"(blowfish|cast5)",
)
+
# flake8: noqa: E402
from scapy.all import RandMAC, RandIP, PcapWriter, RandIP6, RandShort, fuzz
from scapy.all import IPv6, Dot1Q, IP, Ether, UDP, TCP, random