From 774a3ac67f5b827684e8c3b2e03c5f8bbb440593 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 26 Aug 2024 11:50:07 -0400 Subject: [PATCH] Add TODO to consolidate this behavior in CPython. --- tests/test_path.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_path.py b/tests/test_path.py index 3dfc711..ebd23f6 100644 --- a/tests/test_path.py +++ b/tests/test_path.py @@ -656,6 +656,8 @@ def __init__(self, filename, *args, **kwargs): def for_name(cls, name, archive): """ Construct the same way that ZipFile.writestr does. + + TODO: extract this functionality and re-use """ self = cls(filename=name, date_time=time.localtime(time.time())[:6]) self.compress_type = archive.compression