Correct test suite for #848017.

This commit is contained in:
Georg Brandl 2005-08-25 07:32:42 +00:00
parent 3fa5575fa4
commit 8246c439a8
2 changed files with 5 additions and 4 deletions

View file

@ -224,6 +224,7 @@ __all__ = ["CookieError","BaseCookie","SimpleCookie","SerialCookie",
_nulljoin = ''.join
_semispacejoin = '; '.join
_spacejoin = ' '.join
#
# Define an exception visible to External modules
@ -594,7 +595,7 @@ class BaseCookie(dict):
items.sort()
for K,V in items:
L.append( '%s=%s' % (K,repr(V.value) ) )
return '<%s: %s>' % (self.__class__.__name__, _semispacejoin(L))
return '<%s: %s>' % (self.__class__.__name__, _spacejoin(L))
def js_output(self, attrs=None):
"""Return a string suitable for JavaScript."""