summaryrefslogtreecommitdiff
path: root/Lib/test/test_cookielib.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-07-02 21:52:42 +0000
committerBrett Cannon <bcannon@gmail.com>2008-07-02 21:52:42 +0000
commit0bfac6e5d8671f21327b1a8413d68cf23285105f (patch)
treeaf85e2ac1060aa5ca6a8136216417899673b36a9 /Lib/test/test_cookielib.py
parent3bff9d269c8fece4126c4698e67e79362b53bfd1 (diff)
downloadcpython-git-0bfac6e5d8671f21327b1a8413d68cf23285105f.tar.gz
Revert r64673 and instead just change the file encoding.
Diffstat (limited to 'Lib/test/test_cookielib.py')
-rw-r--r--Lib/test/test_cookielib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_cookielib.py b/Lib/test/test_cookielib.py
index d6e1661a65..66f9a83041 100644
--- a/Lib/test/test_cookielib.py
+++ b/Lib/test/test_cookielib.py
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: latin-1 -*-
"""Tests for cookielib.py."""
import re, os, time
@@ -1530,13 +1530,13 @@ class LWPCookieTests(TestCase):
"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