Mercurial > evolve
comparison tests/test-discovery-obshashrange-cache.t @ 4740:f8ef6d5f56f2
py3: don't depend on map() iterating over its input
map(some_generator()) in py2 returns a list, while in py3 it returns a
generator, so the passed-in generator won't be called unless the
returned one is.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 12 Jul 2019 23:19:50 -0700 |
parents | 18ed2a237ab5 |
children | 62b60fc1983d |
comparison
equal
deleted
inserted
replaced
4739:ce6e69b2f759 | 4740:f8ef6d5f56f2 |
---|