diff --git a/src/allmydata/test/mutable/test_problems.py b/src/allmydata/test/mutable/test_problems.py index 02fb62ac4..86a367596 100644 --- a/src/allmydata/test/mutable/test_problems.py +++ b/src/allmydata/test/mutable/test_problems.py @@ -1,4 +1,14 @@ +""" +Ported to Python 3. +""" 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 from twisted.trial import unittest diff --git a/src/allmydata/util/_python3.py b/src/allmydata/util/_python3.py index dba0006e8..a794bf991 100644 --- a/src/allmydata/util/_python3.py +++ b/src/allmydata/util/_python3.py @@ -104,6 +104,7 @@ PORTED_TEST_MODULES = [ "allmydata.test.mutable.test_interoperability", "allmydata.test.mutable.test_multiple_encodings", "allmydata.test.mutable.test_multiple_versions", + "allmydata.test.mutable.test_problems", "allmydata.test.test_abbreviate", "allmydata.test.test_base32", "allmydata.test.test_base62",