Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Avoid deprecation warnings due to legacy __aiter__ protocol. #192

Merged
merged 2 commits into from Jan 30, 2017
Merged

Avoid deprecation warnings due to legacy __aiter__ protocol. #192

merged 2 commits into from Jan 30, 2017

Conversation

ghost
Copy link

@ghost ghost commented Jan 26, 2017

Starting with Python 3.5.2 the coroutine __aiter__ functions will throw PendingDeprecationWarnings. Starting with Python 3.6 it will be actual DeprecationWarnings.

See https://www.python.org/dev/peps/pep-0492/#api-design-and-implementation-revisions

@codecov-io
Copy link

codecov-io commented Jan 26, 2017

Current coverage is 95.34% (diff: 50.00%)

Merging #192 into master will decrease coverage by 0.14%

@@             master       #192   diff @@
==========================================
  Files            55         55          
  Lines          7169       7177     +8   
  Methods           0          0          
  Messages          0          0          
  Branches        583        585     +2   
==========================================
- Hits           6846       6843     -3   
- Misses          237        243     +6   
- Partials         86         91     +5   

Powered by Codecov. Last update 14f6ec3...f7e655e

@ghost
Copy link
Author

ghost commented Jan 26, 2017

Sorry for the decreased coverage, but in fact all new lines are covered by the tests (but not in the same version of Python).

…t commit, but without decreasing coverage).
@popravich popravich merged commit 8bfe9e4 into aio-libs-abandoned:master Jan 30, 2017
@popravich
Copy link
Contributor

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants