summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-09-17 11:32:11 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-09-17 11:32:11 +0000
commiteeb230aa1c105a224fbc2ee03a1b9c5319594252 (patch)
tree90ba29bfa5e7a32663592acfb55e2d1aada867ae
parenta27ff1c8ae5caebfc8578e3725d6af60f3742336 (diff)
Fixed #9117: Made the test client a new-style class. Thanks to Jan Oberst for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/test/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/test/client.py b/django/test/client.py
index ea2fd32d3f..6a3401a2ff 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -134,8 +134,8 @@ def encode_file(boundary, key, file):
'',
file.read()
]
-
-class Client:
+
+class Client(object):
"""
A class that can act as a client for testing purposes.