mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-06 13:08:42 +00:00
Port to Python 3.
This commit is contained in:
parent
1c9e4ec842
commit
243d02ecb1
@ -1,6 +1,16 @@
|
|||||||
"""
|
"""
|
||||||
Tests for allmydata.util.connection_status.
|
Tests for allmydata.util.connection_status.
|
||||||
|
|
||||||
|
Port 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 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 mock
|
import mock
|
||||||
|
|
||||||
|
@ -50,6 +50,7 @@ PORTED_TEST_MODULES = [
|
|||||||
"allmydata.test.test_abbreviate",
|
"allmydata.test.test_abbreviate",
|
||||||
"allmydata.test.test_base32",
|
"allmydata.test.test_base32",
|
||||||
"allmydata.test.test_base62",
|
"allmydata.test.test_base62",
|
||||||
|
"allmydata.test.test_connection_status",
|
||||||
"allmydata.test.test_crypto",
|
"allmydata.test.test_crypto",
|
||||||
"allmydata.test.test_deferredutil",
|
"allmydata.test.test_deferredutil",
|
||||||
"allmydata.test.test_dictutil",
|
"allmydata.test.test_dictutil",
|
||||||
|
Loading…
Reference in New Issue
Block a user