Port to Python 3.

This commit is contained in:
Itamar Turner-Trauring 2020-11-04 13:19:16 -05:00
parent f34597ac61
commit d407cb5005
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,15 @@
"""
Ported from Python 3.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from future.utils import PY2
if PY2:
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401
from six import ensure_text
from json import (

View File

@ -129,6 +129,7 @@ PORTED_TEST_MODULES = [
"allmydata.test.test_spans",
"allmydata.test.test_statistics",
"allmydata.test.test_storage",
"allmydata.test.test_storage_client",
"allmydata.test.test_storage_web",
"allmydata.test.test_time_format",
"allmydata.test.test_upload",