Commit 6bc61b7
committed
Remove unneeded
`zipfile.crc32` is internally `zlib.crc32` and fallbacks
to `binacsii.crc32` when `zlib.crc32` is not available.
Both of them do the same task.
`create_zipfile_with_extra_data` only calls `crc32` and
does not actually require the decompression method provided
by `zlib`. Use `zipfile.crc32` rather than `zlib.crc32` to
allow the test to run on platforms without `zlib` support.zlib dependency for testing1 parent f28ef85 commit 6bc61b7
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4089 | 4089 | | |
4090 | 4090 | | |
4091 | 4091 | | |
4092 | | - | |
4093 | | - | |
| 4092 | + | |
4094 | 4093 | | |
4095 | 4094 | | |
4096 | 4095 | | |
| |||
4100 | 4099 | | |
4101 | 4100 | | |
4102 | 4101 | | |
4103 | | - | |
4104 | 4102 | | |
4105 | 4103 | | |
4106 | 4104 | | |
4107 | 4105 | | |
4108 | 4106 | | |
4109 | | - | |
4110 | 4107 | | |
4111 | 4108 | | |
4112 | 4109 | | |
4113 | 4110 | | |
4114 | 4111 | | |
4115 | | - | |
4116 | 4112 | | |
4117 | 4113 | | |
4118 | 4114 | | |
| |||
0 commit comments