gA&dZddlZddlZdZddZy)z Generate zip test data files. Nctj|d5}t|D]\}}|j||tj j |ddd|S#1swY|SxYw)z: Zip the files in tree into a new zipfile at dst. wN)zipfileZipFilewalkwritestrzipp CompleteDirsinject)treedstzfnamecontentss L/opt/hc_python/lib/python3.12/site-packages/importlib_resources/tests/zip.py make_zip_filer sa c "b"4jND( KKh ')   $ # J # Js AA&&A0c#K|jD]:\}}t|trt|||dEd{1|||f<y7w)N/)prefix)items isinstancedictr)r rrrs rrrsV**,h h %HxvQ-?@ @ @HTF#X- - ' @srs .r