Skip to content

Deprecation warning due to usage of asyncio.coroutine. #225

@tirkarthi

Description

@tirkarthi
tests/test_coroutine_cached_property.py:56
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:56: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def assert_control(self, check, expected):

tests/test_coroutine_cached_property.py:65
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:65: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def assert_cached(self, check, expected):

tests/test_coroutine_cached_property.py:76
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:76: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def test_cached_property(self):

tests/test_coroutine_cached_property.py:98
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:98: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def test_reset_cached_property(self):

tests/test_coroutine_cached_property.py:115
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:115: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def test_none_cached_property(self):

tests/test_async_cached_property.py::TestCachedProperty::test_cached_property
tests/test_async_cached_property.py::TestCachedProperty::test_none_cached_property
tests/test_async_cached_property.py::TestCachedProperty::test_reset_cached_property
  /root/checked_repos/cached-property/tests/test_async_cached_property.py:12: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    coro = asyncio.coroutine(f)

tests/test_async_cached_property.py: 8 warnings
tests/test_coroutine_cached_property.py: 8 warnings
  /root/checked_repos/cached-property/cached_property.py:42: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def wrapper():

tests/test_coroutine_cached_property.py::TestCachedProperty::test_cached_property
tests/test_coroutine_cached_property.py::TestCachedProperty::test_none_cached_property
tests/test_coroutine_cached_property.py::TestCachedProperty::test_reset_cached_property
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:17: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    coro = asyncio.coroutine(f)

tests/test_coroutine_cached_property.py::TestCachedProperty::test_cached_property
tests/test_coroutine_cached_property.py::TestCachedProperty::test_reset_cached_property
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:37: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def add_control(self):

tests/test_coroutine_cached_property.py::TestCachedProperty::test_cached_property
tests/test_coroutine_cached_property.py::TestCachedProperty::test_reset_cached_property
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:43: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def add_cached(self):

tests/test_coroutine_cached_property.py::TestCachedProperty::test_none_cached_property
  /root/checked_repos/cached-property/tests/test_coroutine_cached_property.py:122: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def add_cached(self):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions