From ffbee67f8e17e1cfffcaa0116c170141a7363dda Mon Sep 17 00:00:00 2001 From: Luoxzhg Date: Sat, 9 Sep 2017 21:41:45 +0800 Subject: Fixed some comments referring to a nonexistent TestClient class. --- django/test/testcases.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'django') diff --git a/django/test/testcases.py b/django/test/testcases.py index 983b0bffba..ff17639d51 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -245,9 +245,9 @@ class SimpleTestCase(unittest.TestCase): Assert that a response redirected to a specific URL and that the redirect URL can be loaded. - Won't work for external links since it uses TestClient to do a request - (use fetch_redirect_response=False to check such links without fetching - them). + Won't work for external links since it uses the test client to do a + request (use fetch_redirect_response=False to check such links without + fetching them). """ if msg_prefix: msg_prefix += ": " -- cgit v1.3