Ported to Python 3.

This commit is contained in:
Itamar Turner-Trauring 2020-11-06 11:41:34 -05:00
parent 55ec994450
commit 9dd0faf528
2 changed files with 11 additions and 0 deletions

View File

@ -1,4 +1,14 @@
"""
Ported to Python 3.
"""
from __future__ import print_function from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
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
import os, base64 import os, base64
from twisted.trial import unittest from twisted.trial import unittest

View File

@ -104,6 +104,7 @@ PORTED_TEST_MODULES = [
"allmydata.test.mutable.test_interoperability", "allmydata.test.mutable.test_interoperability",
"allmydata.test.mutable.test_multiple_encodings", "allmydata.test.mutable.test_multiple_encodings",
"allmydata.test.mutable.test_multiple_versions", "allmydata.test.mutable.test_multiple_versions",
"allmydata.test.mutable.test_problems",
"allmydata.test.test_abbreviate", "allmydata.test.test_abbreviate",
"allmydata.test.test_base32", "allmydata.test.test_base32",
"allmydata.test.test_base62", "allmydata.test.test_base62",