diff test/test_init.py @ 255:d4ef19ef17bd

Bug fix for test_init on Windows. More documenation!!
author Richard Jones <richard@users.sourceforge.net>
date Sat, 29 Sep 2001 23:48:06 +0000
parents 1e571b6be57a
children 1fe356fc3d3e
line wrap: on
line diff
--- a/test/test_init.py	Sat Sep 29 13:44:44 2001 +0000
+++ b/test/test_init.py	Sat Sep 29 23:48:06 2001 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: test_init.py,v 1.5 2001-08-29 06:23:59 richard Exp $
+# $Id: test_init.py,v 1.6 2001-09-29 23:48:06 richard Exp $
 
 import unittest, os, shutil, errno, imp, sys
 
@@ -30,12 +30,16 @@
             shutil.rmtree(self.dirname)
         except OSError, error:
             if error.errno != errno.ENOENT: raise
+        except WindowsError, error:
+            if error.errno != 3: raise
 
     def tearDown(self):
         try:
             shutil.rmtree(self.dirname)
         except OSError, error:
             if error.errno != errno.ENOENT: raise
+        except WindowsError, error:
+            if error.errno != 3: raise
 
 class ClassicTestCase(MyTestCase):
     backend = 'anydbm'
@@ -136,6 +140,10 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.5  2001/08/29 06:23:59  richard
+# Disabled the bsddb3 module entirely in the unit testing. See CHANGES for
+# details.
+#
 # Revision 1.4  2001/08/07 00:24:43  richard
 # stupid typo
 #

Roundup Issue Tracker: http://roundup-tracker.org/