Port to Python 3.

This commit is contained in:
Itamar Turner-Trauring 2020-12-17 09:55:35 -05:00
parent 3ac64e42f7
commit 6e12cce1e4
2 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,16 @@
"""
Tests for ```allmydata.web.status```.
Ported to 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 bs4 import BeautifulSoup
from twisted.web.template import flattenString

View File

@ -181,4 +181,5 @@ PORTED_TEST_MODULES = [
"allmydata.test.test_util",
"allmydata.test.web.test_common",
"allmydata.test.web.test_util",
"allmydata.test.web.test_status",
]