[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/traversing/tests/test_conveniencefunctions.py An invalid location identifier signals a ValueError even if

Egon Frerich e.frerich at nord-com.net
Wed May 25 15:43:07 EDT 2005


Log message for revision 30504:
  An invalid location identifier signals a ValueError even if 
  the identifier is not unicode

Changed:
  U   Zope3/trunk/src/zope/app/traversing/tests/test_conveniencefunctions.py

-=-
Modified: Zope3/trunk/src/zope/app/traversing/tests/test_conveniencefunctions.py
===================================================================
--- Zope3/trunk/src/zope/app/traversing/tests/test_conveniencefunctions.py	2005-05-25 18:56:06 UTC (rev 30503)
+++ Zope3/trunk/src/zope/app/traversing/tests/test_conveniencefunctions.py	2005-05-25 19:42:36 UTC (rev 30504)
@@ -217,7 +217,7 @@
     def testCanonicalPath(self):
 
         _bad_locations = (
-            (UnicodeError, '\xa323'),
+            (ValueError, '\xa323'),
             (ValueError, ''),
             (ValueError, '//'),
             (ValueError, '/foo//bar'),



More information about the Zope3-Checkins mailing list