From: david-sarah Date: Sat, 24 Jul 2010 03:21:23 +0000 (-0700) Subject: test_system: correct a failure in _test_runner caused by Unicode basedir patch on... X-Git-Tag: allmydata-tahoe-1.8.0b2~67 X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/class-simplejson.JSONDecoder-index.html?a=commitdiff_plain;h=2b33704d613da8d11179012308350f4f7cb57032;p=tahoe-lafs%2Ftahoe-lafs.git test_system: correct a failure in _test_runner caused by Unicode basedir patch on non-Unicode platforms. --- diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 93a71a0a..2d6feacf 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -1270,7 +1270,7 @@ class SystemTest(SystemTestMixin, unittest.TestCase): # exercise some of the diagnostic tools in runner.py # find a share - for (dirpath, dirnames, filenames) in os.walk(self.basedir): + for (dirpath, dirnames, filenames) in os.walk(unicode(self.basedir)): if "storage" not in dirpath: continue if not filenames: