Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.15.0: pytest warning #105

Open
kloczek opened this issue Mar 10, 2022 · 0 comments
Open

4.15.0: pytest warning #105

kloczek opened this issue Mar 10, 2022 · 0 comments

Comments

@kloczek
Copy link

kloczek commented Mar 10, 2022

Looks like latest pytet shows one warning

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-lingua-4.15.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-lingua-4.15.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-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/lingua-4.15.0, configfile: pyproject.toml, testpaths: tests
collected 101 items

tests/test_extract.py ......                                                                                                                                         [  5%]
tests/extractors/test_init.py ............                                                                                                                           [ 17%]
tests/extractors/test_python.py ....................                                                                                                                 [ 37%]
tests/extractors/test_xml.py .........................................................                                                                               [ 94%]
tests/extractors/test_zcml.py ......                                                                                                                                 [100%]

============================================================================= warnings summary =============================================================================
tests/extractors/test_python.py::test_bytes_input
  /home/tkloczko/rpmbuild/BUILD/lingua-4.15.0/tests/extractors/test_python.py:255: UnicodeWarning: Python extractor called with bytes input. Please update your plugin to submit unicode instead.
    messages = list(python_extractor("filename", options))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
====================================================================== 101 passed, 1 warning in 0.53s ======================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant