[Python-checkins] r64677 - python/trunk/Lib/test/test_cookielib.py

brett.cannon python-checkins at python.org
Wed Jul 2 23:52:42 CEST 2008


Author: brett.cannon
Date: Wed Jul  2 23:52:42 2008
New Revision: 64677

Log:
Revert r64673 and instead just change the file encoding.


Modified:
   python/trunk/Lib/test/test_cookielib.py

Modified: python/trunk/Lib/test/test_cookielib.py
==============================================================================
--- python/trunk/Lib/test/test_cookielib.py	(original)
+++ python/trunk/Lib/test/test_cookielib.py	Wed Jul  2 23:52:42 2008
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: latin-1 -*-
 """Tests for cookielib.py."""
 
 import re, os, time
@@ -1530,13 +1530,13 @@
                       "foo  =   bar; version    =   1")
 
         cookie = interact_2965(
-            c, "http://www.acme.com/foo%2f%25/<<%0anewå/æøå",
+            c, "http://www.acme.com/foo%2f%25/<<%0anewå/æøå",
             'bar=baz; path="/foo/"; version=1');
         version_re = re.compile(r'^\$version=\"?1\"?', re.I)
         self.assert_("foo=bar" in cookie and version_re.search(cookie))
 
         cookie = interact_2965(
-            c, "http://www.acme.com/foo/%25/<<%0anewå/æøå")
+            c, "http://www.acme.com/foo/%25/<<%0anewå/æøå")
         self.assert_(not cookie)
 
         # unicode URL doesn't raise exception


More information about the Python-checkins mailing list