Commit 9add837
Leo Ji
fix: suppress Duplicate name UserWarning in _set()
Python's zipfile warns when the same filename is written twice.
ZipStore is append-only by design; duplicates are cleaned up by
_dedup_central_directory() on close. Suppress the warning at the
source so test suites with filterwarnings=error don't treat it as
a failure.
Made-with: Cursor1 parent 51d34f0 commit 9add837
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
238 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
239 | 245 | | |
240 | 246 | | |
241 | 247 | | |
| |||
0 commit comments