Skip to content

Commit

Permalink
Add skip test for Not supported Python
Browse files Browse the repository at this point in the history
  • Loading branch information
yafshar committed Mar 14, 2024
1 parent df34018 commit 78ccbd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_kim_edn/test_decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
from io import StringIO
from collections import OrderedDict
import pickle
import sys
from test import support
from tests.test_kim_edn import PyTest
import unittest


class TestDecode:
Expand Down Expand Up @@ -126,6 +128,7 @@ def test_negative_index(self):

self.assertRaises(ValueError, d.raw_decode, 'a' * 42, -50000)

@unittest.skipIf(sys.version_info.minor < 10, "not supported in this Python version")
def test_limit_int(self):
maxdigits = 5000
with support.adjust_int_max_str_digits(maxdigits):
Expand Down

0 comments on commit 78ccbd1

Please sign in to comment.