From: david-sarah Date: Wed, 10 Aug 2011 05:19:06 +0000 (-0700) Subject: test/common_util.py: correct fix to mkdir_nonascii. refs #1472 X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/provisioning?a=commitdiff_plain;h=0dc56daaf95409106a36ce5fcb20bd49bb2ab6af;p=tahoe-lafs%2Ftahoe-lafs.git test/common_util.py: correct fix to mkdir_nonascii. refs #1472 --- diff --git a/src/allmydata/test/common_util.py b/src/allmydata/test/common_util.py index 54c4e55e..a3a190c0 100644 --- a/src/allmydata/test/common_util.py +++ b/src/allmydata/test/common_util.py @@ -47,7 +47,7 @@ class NonASCIIPathMixin: finally: log.err("We were unable to delete a non-ASCII directory %r created by the test. " "This is liable to cause failures on future builds." % (dirpath,)) - self.addCleanup(self._cleanup, dirpath) + self.addCleanup(_cleanup) os.mkdir(dirpath) def unicode_or_fallback(self, unicode_name, fallback_name):