Changeset a29c03d in trunk
- Timestamp:
- 2021-03-04T16:02:36Z (4 years ago)
- Branches:
- master
- Children:
- f2970f1
- Parents:
- cf418b7
- Location:
- src/allmydata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/test/test_client.py ¶
rcf418b7 ra29c03d 1 """ 2 Ported to Python 3. 3 """ 4 from __future__ import absolute_import 5 from __future__ import division 6 from __future__ import print_function 7 from __future__ import unicode_literals 8 1 9 from future.utils import PY2 2 from past.builtins import unicode 10 if PY2: 11 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 3 12 4 13 import os, sys … … 190 199 "client.port", 191 200 ) 192 abs_basedir = fileutil.abspath_expanduser_unicode( unicode(basedir))201 abs_basedir = fileutil.abspath_expanduser_unicode(str(basedir)) 193 202 self.failUnlessIn(os.path.join(abs_basedir, "introducer.furl"), e.args[0]) 194 203 self.failUnlessIn(os.path.join(abs_basedir, "no_storage"), e.args[0]) … … 435 444 generic helper for following storage_dir tests 436 445 """ 437 assert isinstance(basedir, unicode)438 assert isinstance(storage_path, ( unicode, type(None)))439 assert isinstance(expected_path, unicode)446 assert isinstance(basedir, str) 447 assert isinstance(storage_path, (str, type(None))) 448 assert isinstance(expected_path, str) 440 449 os.mkdir(basedir) 441 450 cfg_path = os.path.join(basedir, "tahoe.cfg") -
TabularUnified src/allmydata/util/_python3.py ¶
rcf418b7 ra29c03d 152 152 "allmydata.test.test_base62", 153 153 "allmydata.test.test_checker", 154 "allmydata.test.test_client", 154 155 "allmydata.test.test_codec", 155 156 "allmydata.test.test_common_util",
Note: See TracChangeset
for help on using the changeset viewer.