[Scipy-svn] r7170 - trunk/scipy/weave/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Mon Feb 21 08:14:32 EST 2011


Author: rgommers
Date: 2011-02-21 07:14:32 -0600 (Mon, 21 Feb 2011)
New Revision: 7170

Modified:
   trunk/scipy/weave/tests/test_catalog.py
Log:
BUG: fix weave.catalog error on Windows Vista.

Thanks to Christoph Gohlke.

Modified: trunk/scipy/weave/tests/test_catalog.py
===================================================================
--- trunk/scipy/weave/tests/test_catalog.py	2011-02-20 23:34:21 UTC (rev 7169)
+++ trunk/scipy/weave/tests/test_catalog.py	2011-02-21 13:14:32 UTC (rev 7170)
@@ -104,8 +104,9 @@
     def test_create_catalog(self):
         pardir = self.get_test_dir(erase=1)
         cat = catalog.get_catalog(pardir,'c')
+        assert_(cat is not None)
+        cat.close()
         self.remove_dir(pardir)
-        assert_(cat is not None)
 
 
 class TestCatalog(TestCase):




More information about the Scipy-svn mailing list