Commit 401f3917 authored by Jérome Perrin's avatar Jérome Perrin

WIP py >= 3.9

( was it OK on 3.7 ? )
parent 943a005d
This diff is collapsed.
......@@ -3,7 +3,7 @@ import sys
import json
import bz2
import gzip
from StringIO import StringIO
from io import BytesIO, StringIO
import tempfile
import apachedex
from . import lzma
......@@ -86,7 +86,7 @@ class TestBzip2Encoding(ApacheDEXTestCase, EncodedInputTestMixin):
class TestZlibEncoding(ApacheDEXTestCase, EncodedInputTestMixin):
def _getInputData(self):
f = StringIO()
f = BytesIO()
with gzip.GzipFile(mode="w", fileobj=f) as gzfile:
gzfile.write(self.DEFAULT_LINE)
return f.getvalue()
......
......@@ -64,7 +64,7 @@ setup(
long_description=".. contents::\n\n" + description,
author='Vincent Pelletier',
author_email='vincent@nexedi.com',
url='http://git.erp5.org/gitweb/apachedex.git',
url='https://lab.nexedi.com/nexedi/apachedex.git',
license='GPL 2+',
platforms=['any'],
classifiers=[
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment