From 4e6285c490d076b6d7eb20f6163f6ecd5cd70c07 Mon Sep 17 00:00:00 2001 From: takaaki shimbo Date: Mon, 26 Nov 2018 04:43:26 +0900 Subject: [PATCH] [2.1.x] Fixed typo in patch_logger() docstring. Backport of 6275b50ac26ea6c026aa7b2aae9192f5792e8a94 from master --- django/test/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/test/utils.py b/django/test/utils.py index 0e04e54964..746e39b488 100644 --- a/django/test/utils.py +++ b/django/test/utils.py @@ -640,7 +640,7 @@ def patch_logger(logger_name, log_level, log_kwargs=False): Context manager that takes a named logger and the logging level and provides a simple mock-like list of messages received. - Use unitttest.assertLogs() if you only need Python 3 support. This + Use unittest.assertLogs() if you only need Python 3 support. This private API will be removed after Python 2 EOL in 2020 (#27753). """ calls = []