[Checkins] SVN: Products.CMFCore/branches/2.1/Products/CMFCore/tests/test_PortalFolder.py Don't expect string exception type, removed yesterday.

Tres Seaver tseaver at palladion.com
Fri May 8 11:46:57 EDT 2009


Log message for revision 99807:
  Don't expect string exception type, removed yesterday.

Changed:
  U   Products.CMFCore/branches/2.1/Products/CMFCore/tests/test_PortalFolder.py

-=-
Modified: Products.CMFCore/branches/2.1/Products/CMFCore/tests/test_PortalFolder.py
===================================================================
--- Products.CMFCore/branches/2.1/Products/CMFCore/tests/test_PortalFolder.py	2009-05-07 23:56:53 UTC (rev 99806)
+++ Products.CMFCore/branches/2.1/Products/CMFCore/tests/test_PortalFolder.py	2009-05-08 15:46:56 UTC (rev 99807)
@@ -882,7 +882,7 @@
             if ce_regex is not None:
 
                 pattern = re.compile( ce_regex, re.DOTALL )
-                if pattern.search( e ) is None:
+                if pattern.search(str(e)) is None:
                     self.fail( "Paste failed; didn't match pattern:\n%s" % e )
 
             else:



More information about the Checkins mailing list