From 4642ab63f5368d249c03b6a98628076b9233584e Mon Sep 17 00:00:00 2001 From: Alberto Vara Date: Sat, 25 May 2024 17:07:12 +0200 Subject: [PATCH] fix: update versions and fix minor bugs --- tests/test_crypt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_crypt.py b/tests/test_crypt.py index 09bb60c..41ab544 100644 --- a/tests/test_crypt.py +++ b/tests/test_crypt.py @@ -1,5 +1,6 @@ import logging import os +import sys import unittest from unittest.mock import patch @@ -35,6 +36,7 @@ def decrypt(self, encrypted): class CryptTests(unittest.TestCase): + @pytest.mark.skipif(sys.version_info >= (3, 12), reason="requires python3.10 or higher") def test_ko(self): with pytest.raises(TypeError) as excinfo: MockDecrypt()