From f3a56dbc2eee61a7944164195ac706fda6d5a4b6 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 24 Feb 2023 05:12:15 -0500 Subject: [PATCH] Consume the _implied_dirs result, ensuring the algorithmic effect is exercised. Ref python/cpython#102209. --- tests/test_zipp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_zipp.py b/tests/test_zipp.py index 4d77357..9809090 100644 --- a/tests/test_zipp.py +++ b/tests/test_zipp.py @@ -339,7 +339,7 @@ def test_joinpath_constant_time(self): @set_timeout(3) def test_implied_dirs_performance(self): data = ['/'.join(string.ascii_lowercase + str(n)) for n in range(10000)] - zipp.CompleteDirs._implied_dirs(data) + consume(zipp.CompleteDirs._implied_dirs(data)) @pass_alpharep def test_read_does_not_close(self, alpharep):