1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 17:15:35 +00:00

collections.Counter is new in Python 2.7

This commit is contained in:
Hugo
2017-12-07 13:20:20 +02:00
parent bfb38af8e1
commit 42762ec806
4 changed files with 5 additions and 10 deletions

View File

@@ -11,8 +11,4 @@ else:
if not hasattr(contextlib, 'ExitStack'):
import contextlib2 as contextlib
import collections
if not hasattr(collections, 'Counter'):
import backport_collections as collections
__all__ = ['mock', 'contextlib', 'collections']
__all__ = ['mock', 'contextlib']