mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 03:14:21 +00:00
Fix tests on Python 3.
This commit is contained in:
parent
8056b43df6
commit
3841662ee6
@ -6,10 +6,10 @@ from __future__ import absolute_import
|
||||
from __future__ import division
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from future.utils import PY2
|
||||
from future.utils import PY2, native_str
|
||||
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 past.builtins import chr as byteschr, str as native_str
|
||||
from past.builtins import chr as byteschr
|
||||
|
||||
__all__ = [
|
||||
"SyncTestCase",
|
||||
|
Loading…
x
Reference in New Issue
Block a user