Ticket #9117: testclient_newstyle_9117-r9056.diff

File testclient_newstyle_9117-r9056.diff, 346 bytes (added by jan_oberst, 11 years ago)

Testclient to new-style class

  • django/test/client.py

    diff --git a/django/test/client.py b/django/test/client.py
    index 86fe24c..ea2fd32 100644
    a b def encode_file(boundary, key, file): 
    135135        file.read()
    136136    ]
    137137   
    138 class Client(object):
     138class Client:
    139139    """
    140140    A class that can act as a client for testing purposes.
    141141
Back to Top