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

Fixed Deprecation Warnings in Python 3.7 #153

Merged
merged 1 commit into from
Dec 11, 2018
Merged

Fixed Deprecation Warnings in Python 3.7 #153

merged 1 commit into from
Dec 11, 2018

Conversation

stan-janssen
Copy link
Contributor

When using or importing abstract base classes from Python's collections module, these must be explicitely used from collections.abc instead of from collections directly. This commit solves the resulting DeprecationWarning.

In Python 3.7, the abstract base classes in `collections` must be imported from `collections.abc`
@codecov-io
Copy link

codecov-io commented Oct 16, 2018

Codecov Report

Merging #153 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #153   +/-   ##
=======================================
  Coverage   72.12%   72.12%           
=======================================
  Files          35       35           
  Lines        5033     5033           
  Branches      554      554           
=======================================
  Hits         3630     3630           
  Misses       1156     1156           
  Partials      247      247
Impacted Files Coverage Δ
aio_pika/pika/utils.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8e4567...e439229. Read the comment docs.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 77.027% when pulling e439229 on finetuned89:deprecation-warning-abc-py3.7 into c8e4567 on mosquito:master.

@mosquito mosquito merged commit af34d62 into mosquito:master Dec 11, 2018
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

Successfully merging this pull request may close these issues.

None yet

5 participants