diff options
| author | robot-piglet <[email protected]> | 2026-02-06 23:39:34 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-02-07 00:03:02 +0300 |
| commit | 297d2601080e0d565dc8fa55ab152b0be6795ce3 (patch) | |
| tree | fa1dae2dfd3008ad9c0c9cd6d489197701bb22ac /contrib/python/jmespath | |
| parent | d584f96e49dbfe28c5293ac7c830dceaf886484e (diff) | |
Intermediate changes
commit_hash:c6ed0fd9155fb2e1c64da7eca4b82a799ef15088
Diffstat (limited to 'contrib/python/jmespath')
6 files changed, 20 insertions, 9 deletions
diff --git a/contrib/python/jmespath/py3/.yandex_meta/yamaker.yaml b/contrib/python/jmespath/py3/.yandex_meta/yamaker.yaml index e1217f0accc..5e339dbe256 100644 --- a/contrib/python/jmespath/py3/.yandex_meta/yamaker.yaml +++ b/contrib/python/jmespath/py3/.yandex_meta/yamaker.yaml @@ -1,2 +1,2 @@ keep: - - tests/* + - tests/__init__.py diff --git a/contrib/python/jmespath/py3/patches/01-fix-tests.patch b/contrib/python/jmespath/py3/patches/01-fix-tests.patch index 42d1697a934..0ae1395d638 100644 --- a/contrib/python/jmespath/py3/patches/01-fix-tests.patch +++ b/contrib/python/jmespath/py3/patches/01-fix-tests.patch @@ -10,3 +10,18 @@ @@ -6,1 +6,1 @@ import re -from tests import unittest, OrderedDict +from . import unittest, OrderedDict +--- contrib/python/jmespath/py3/tests/test_functions.py (index) ++++ contrib/python/jmespath/py3/tests/test_functions.py (working tree) +@@ -2 +2 @@ +-from tests import unittest ++from . import unittest +--- contrib/python/jmespath/py3/tests/test_lexer.py (index) ++++ contrib/python/jmespath/py3/tests/test_lexer.py (working tree) +@@ -1 +1 @@ +-from tests import unittest ++from . import unittest +--- contrib/python/jmespath/py3/tests/test_search.py (index) ++++ contrib/python/jmespath/py3/tests/test_search.py (working tree) +@@ -3 +3 @@ import decimal +-from tests import unittest, OrderedDict ++from . import unittest, OrderedDict diff --git a/contrib/python/jmespath/py3/tests/test_functions.py b/contrib/python/jmespath/py3/tests/test_functions.py index a352d69eb42..7fddb99f1c2 100644 --- a/contrib/python/jmespath/py3/tests/test_functions.py +++ b/contrib/python/jmespath/py3/tests/test_functions.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -from tests import unittest +from . import unittest from datetime import datetime, timedelta import json diff --git a/contrib/python/jmespath/py3/tests/test_lexer.py b/contrib/python/jmespath/py3/tests/test_lexer.py index fbae0608813..1649283ba4b 100644 --- a/contrib/python/jmespath/py3/tests/test_lexer.py +++ b/contrib/python/jmespath/py3/tests/test_lexer.py @@ -1,4 +1,4 @@ -from tests import unittest +from . import unittest from jmespath import lexer from jmespath.exceptions import LexerError, EmptyExpressionError diff --git a/contrib/python/jmespath/py3/tests/test_search.py b/contrib/python/jmespath/py3/tests/test_search.py index 4832079ba71..9a8ab9983e3 100644 --- a/contrib/python/jmespath/py3/tests/test_search.py +++ b/contrib/python/jmespath/py3/tests/test_search.py @@ -1,6 +1,6 @@ import sys import decimal -from tests import unittest, OrderedDict +from . import unittest, OrderedDict import jmespath import jmespath.functions diff --git a/contrib/python/jmespath/py3/tests/ya.make b/contrib/python/jmespath/py3/tests/ya.make index fbdce69055e..57157078063 100644 --- a/contrib/python/jmespath/py3/tests/ya.make +++ b/contrib/python/jmespath/py3/tests/ya.make @@ -4,11 +4,7 @@ PEERDIR( contrib/python/jmespath ) -TEST_SRCS( - __init__.py - test_compliance.py - test_parser.py -) +ALL_PYTEST_SRCS(RECURSIVE) NO_LINT() |
