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
This commit is contained in:
parent
a27ff1c8ae
commit
eeb230aa1c
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue