Skip to content

Warnings: coroutine 'ClientSession.close' was never awaited #175

@nicoddemus

Description

@nicoddemus

I've seen this warnings in bottery's CI:

c:\projects\bottery\.tox\py35\lib\site-packages\bottery\bottery.py:107: RuntimeWarning: coroutine 'ClientSession.close' was never awaited
  self.session.close()
c:\projects\bottery\.tox\py35\lib\site-packages\bottery\bottery.py:107: RuntimeWarning: coroutine 'ClientSession.close' was never awaited
  self.session.close()

Seems like that line should be await self.session.close(), correct?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions