Browse files

Fixed #9117: Made the test client a new-style class. Thanks to Jan Ob…

…erst for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a27ff1c commit eeb230aa1c105a224fbc2ee03a1b9c5319594252 @freakboy3742 freakboy3742 committed Sep 17, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/test/client.py
View
4 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.

0 comments on commit eeb230a

Please sign in to comment.