From 54602b918e9f88495603fa2d18133a8199628e7b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 24 Feb 2023 20:50:34 -0500 Subject: [PATCH] Use consume from more_itertools. --- tests/test_zipp.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_zipp.py b/tests/test_zipp.py index 73f10e7..9761e11 100644 --- a/tests/test_zipp.py +++ b/tests/test_zipp.py @@ -12,6 +12,7 @@ import jaraco.itertools from jaraco.functools import compose +from more_itertools import consume import zipp @@ -19,9 +20,6 @@ from ._func_timeout_compat import set_timeout -consume = tuple - - def add_dirs(zf): """ Given a writable zip file zf, inject directory entries for