diff options
| author | takaaki shimbo <ta7uwtaka@gmail.com> | 2018-11-26 04:43:26 +0900 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-11-25 14:43:26 -0500 |
| commit | 6275b50ac26ea6c026aa7b2aae9192f5792e8a94 (patch) | |
| tree | 0e42cf2dfc705c7878035fa7532c8bd87e7cf37e | |
| parent | 11a9017179812198a12a2fc19610262a549aa46e (diff) | |
Fixed typo in patch_logger() docstring.
| -rw-r--r-- | django/test/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/utils.py b/django/test/utils.py index 618fde8f36..c8965cdbb8 100644 --- a/django/test/utils.py +++ b/django/test/utils.py @@ -663,7 +663,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 = [] |
