Port to Python 3.

This commit is contained in:
Itamar Turner-Trauring 2021-01-12 14:25:16 -05:00
parent 4940da47da
commit 03fb936716
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,7 @@
"""
Tests for ``allmydata.web.private``.
Ported to Python 3.
"""
from __future__ import (
@ -9,6 +11,10 @@ from __future__ import (
division,
)
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 future.builtins import str
from testtools.matchers import (

View File

@ -189,6 +189,7 @@ PORTED_TEST_MODULES = [
"allmydata.test.web.test_grid",
"allmydata.test.web.test_introducer",
"allmydata.test.web.test_logs",
"allmydata.test.web.test_private",
"allmydata.test.web.test_status",
"allmydata.test.web.test_util",
"allmydata.test.web.test_webish",