From eeb230aa1c105a224fbc2ee03a1b9c5319594252 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 17 Sep 2008 11:32:11 +0000 Subject: [PATCH] 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 --- django/test/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/test/client.py b/django/test/client.py index ea2fd32d3f6..6a3401a2fff 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.