good idea, that way python2 still uses iterators
On 23 May 2014, at 14:08, Arseny Nasokin <notifications@github.com> wrote:

> In tests/__init__.py:
> 
> > @@ -20,16 +20,16 @@ def __init__(self, d=None):
> >          if not d:
> >              return
> >          if hasattr(d, "iteritems"):
> > -            d = d.iteritems()
> Use this block here:
> 
> if hasattr(d, 'iteritems):
>    d = d.iteritems()
> elif hasattr(d, 'items'):
>   d = d.items()
> —
> Reply to this email directly or view it on GitHub.
>