8000 fix: update versions and fix minor bugs · python-microservices/pyms@4642ab6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4642ab6

Browse files
committed
fix: update versions and fix minor bugs
1 parent 1539e05 commit 4642ab6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_crypt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import logging
22
import os
3+
import sys
34
import unittest
45
from unittest.mock import patch
56

@@ -35,6 +36,7 @@ def decrypt(self, encrypted):
3536

3637

3738
class CryptTests(unittest.TestCase):
39+
@pytest.mark.skipif(sys.version_info >= (3, 12), reason="requires python3.10 or higher")
3840
def test_ko(self):
3941
with pytest.raises(TypeError) as excinfo:
4042
MockDecrypt()

0 commit comments

Comments
 (0)
0