From 0dc56daaf95409106a36ce5fcb20bd49bb2ab6af Mon Sep 17 00:00:00 2001
From: david-sarah <david-sarah@jacaranda.org>
Date: Tue, 9 Aug 2011 22:19:06 -0700
Subject: [PATCH] test/common_util.py: correct fix to mkdir_nonascii. refs
 #1472

---
 src/allmydata/test/common_util.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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):
-- 
2.45.2