Closed jamesls closed 2 years ago
Hi @kloczek, this was already addressed in #276.
Testesd and it works. Nevertheless pytest still shows one warning
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-jmespath-1.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-jmespath-1.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-7.1.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/jmespath.py-1.0.0
plugins: hypothesis-6.39.3
collected 976 items
extra/test_hypothesis.py ....... [ 0%]
tests/test_compliance.py ........................................................................................................................................... [ 14%]
.................................................................................................................................................................... [ 31%]
.................................................................................................................................................................... [ 48%]
.................................................................................................................................................................... [ 65%]
.................................................................................................................................................................... [ 82%]
...................................................................................................... [ 92%]
tests/test_custom_functions.py . [ 92%]
tests/test_functions.py ..... [ 93%]
tests/test_lexer.py ................... [ 95%]
tests/test_parser.py .......................................... [ 99%]
tests/test_search.py ....s [100%]
============================================================================= warnings summary =============================================================================
extra/test_hypothesis.py: 3 warnings
tests/test_compliance.py: 11 warnings
tests/test_lexer.py: 3 warnings
/home/tkloczko/rpmbuild/BUILDROOT/python-jmespath-1.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages/jmespath/lexer.py:169: PendingDeprecationWarning: deprecated string literal syntax
warnings.warn("deprecated string literal syntax",
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_search.py:55: Test requires long() type
========================================================= 975 passed, 1 skipped, 17 warnings in 518.16s (0:08:38) ==========================================================
Just tested 1.0.00 and looks like remove using
nose
is not fully finished ..