(name, data)
| 26 | # ----------------------------------------------------------------------------- |
| 27 | |
| 28 | def zipCompression(name, data): |
| 29 | with io.BytesIO() as in_memory: |
| 30 | with zipfile.ZipFile(in_memory, mode="w") as zf: |
| 31 | zf.writestr("data/%s" % name, data, zipfile.ZIP_DEFLATED) |
| 32 | in_memory.seek(0) |
| 33 | return in_memory.read() |
| 34 | |
| 35 | |
| 36 | def dataTableToList(dataTable): |
no test coverage detected