aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_compat.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-02-07 03:22:29 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-02-08 07:28:46 +0530
commitf6a765ceb59c55aea06921880c1c87d1ff36e5de (patch)
tree4120a1128be7c3ec48f0d81f6832fe55e25cff5b /test/test_compat.py
parent754c84e2e416cf6609dd0e4632b4985a08d34043 (diff)
downloadhypervideo-pre-f6a765ceb59c55aea06921880c1c87d1ff36e5de.tar.lz
hypervideo-pre-f6a765ceb59c55aea06921880c1c87d1ff36e5de.tar.xz
hypervideo-pre-f6a765ceb59c55aea06921880c1c87d1ff36e5de.zip
[dependencies] Standardize `Cryptodome` imports
Diffstat (limited to 'test/test_compat.py')
-rw-r--r--test/test_compat.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_compat.py b/test/test_compat.py
index e3d775bc1..003a97abf 100644
--- a/test/test_compat.py
+++ b/test/test_compat.py
@@ -31,6 +31,9 @@ class TestCompat(unittest.TestCase):
# TODO: Test submodule
# compat.asyncio.events # Must not raise error
+ with self.assertWarns(DeprecationWarning):
+ compat.compat_pycrypto_AES # Must not raise error
+
def test_compat_expanduser(self):
old_home = os.environ.get('HOME')
test_str = R'C:\Documents and Settings\ั‚ะตัั‚\Application Data'