syncer icon indicating copy to clipboard operation
syncer copied to clipboard

1.3.0: pytest deprecation warnings

Open kloczek opened this issue 3 years ago • 0 comments

Looks like pytest shows some deprecation warnings

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-syncer-1.3.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-syncer-1.3.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/syncer-1.3.0
collected 24 items

tests/test_py34.py .............                                                                                                                                     [ 54%]
tests/test_py35.py ...........                                                                                                                                       [100%]

============================================================================= warnings summary =============================================================================
tests/test_py34.py:57
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:57: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def test_deco_testmethod(self):

tests/test_py34.py:68
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:68: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def test_failure(self):

tests/test_py34.py::TestSyncerPY34::test_deco_aioco
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:41: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a():

tests/test_py34.py::TestSyncerPY34::test_deco_aioco_args
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:49: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a(b, c, d=2):

tests/test_py34.py::TestSyncerPY34::test_deco_method
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:99: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a(self):

tests/test_py34.py::TestSyncerPY34::test_deco_method_args
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:109: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a(self, b, c, d=2):

tests/test_py34.py::TestSyncerPY34::test_deco_testmethod
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:59: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a():

tests/test_py34.py::TestSyncerPY34::test_wrap_aioco
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:22: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a():

tests/test_py34.py::TestSyncerPY34::test_wrap_aioco_args
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:31: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a(b, c, d=2):

tests/test_py34.py::TestSyncerPY34::test_wrap_method
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:77: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a(self):

tests/test_py34.py::TestSyncerPY34::test_wrap_method_args
  /home/tkloczko/rpmbuild/BUILD/syncer-1.3.0/tests/test_py34.py:87: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def a(self, b, c, d=2):

-- Docs: https://docs.pytest.org/en/stable/warnings.html
===================================================================== 24 passed, 11 warnings in 0.10s ======================================================================

kloczek avatar Jan 07 '22 20:01 kloczek