[Zodb-checkins] SVN: ZODB/branches/3.8/src/ZODB/tests/testblob.py Fixed stupid bug in rmtree helper and fixed another windows issue.

Jim Fulton jim at zope.com
Thu Sep 18 18:27:13 EDT 2008


Log message for revision 91244:
  Fixed stupid bug in rmtree helper and fixed another windows issue.
  

Changed:
  U   ZODB/branches/3.8/src/ZODB/tests/testblob.py

-=-
Modified: ZODB/branches/3.8/src/ZODB/tests/testblob.py
===================================================================
--- ZODB/branches/3.8/src/ZODB/tests/testblob.py	2008-09-18 22:13:04 UTC (rev 91243)
+++ ZODB/branches/3.8/src/ZODB/tests/testblob.py	2008-09-18 22:27:12 UTC (rev 91244)
@@ -543,6 +543,7 @@
             for dname in dirs:
                 dname = os.path.join(path, dname)
                 os.rmdir(dname)
+        os.rmdir(path)
 
     test.globs['rmtree'] = rmtree
 
@@ -563,6 +564,7 @@
         setUp=setUp,
         tearDown=ZODB.tests.util.tearDown,
         checker = renormalizing.RENormalizing([
+            (re.compile(r'\%(sep)s\%(sep)s' % dict(sep=os.path.sep)), '/'),
             (re.compile(r'\%(sep)s' % dict(sep=os.path.sep)), '/'),
             (re.compile(r'\S+/((old|bushy|lawn)/\S+/foo[23456]?)'), r'\1'),
             ]),



More information about the Zodb-checkins mailing list