Yelp / bravado-core

Other
109 stars 98 forks source link

Default to importing collections.abc instead of collections #326

Closed OiCMudkips closed 5 years ago

OiCMudkips commented 5 years ago

I'm working a Python 3.7 project internally and I get DeprecationWarnings in Python 3.7 to switch to collections.abc. This change changes the default to collections.abc so that we stop getting the warning messages.

This should safe for all Python versions, since if a Python version doesn't have collections.abc, we'll fallback to collections.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.1%) to 98.481% when pulling 459b88a0016f710e9fe43e0b1733f668922425d5 on OiCMudkips:import-collections-abc-by-default into 5ebb90797bbc0fe53f8a81bcf94df379d197c122 on Yelp:master.