async def corofunc(**local_args):
            nonlocal called
            assert local_args == args
            called += 1
def popitem(self):
        key, value = self._collection.popitem()
        return key, self._to_python(value)