summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2014-06-02 13:58:23 -0700
committerTheron Luhn <theron@luhn.com>2014-06-02 13:58:23 -0700
commit609b0cbbca00f60a9d4a203b5ad3c6f9ceffc02e (patch)
treef02d04b59d99cf25de0298a20f0ecfedaa4d2142
parent55400a5197a29646caf52cbfd3abb6f3c9391d90 (diff)
downloadwebtest-609b0cbbca00f60a9d4a203b5ad3c6f9ceffc02e.tar.gz
Fix Python 3 tests.
-rw-r--r--webtest/app.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/webtest/app.py b/webtest/app.py
index 6a979e3..98275a7 100644
--- a/webtest/app.py
+++ b/webtest/app.py
@@ -15,7 +15,6 @@ import json
import random
import fnmatch
import mimetypes
-import cookielib
from base64 import b64encode
@@ -298,7 +297,7 @@ class TestApp(object):
))
# Set the cookie
- cookie = cookielib.Cookie(
+ cookie = http_cookiejar.Cookie(
version=0,
name=name,
value=value,