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:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user