Skip to content

Commit

Permalink
Fixed typo in patch_logger() docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
ta7uw authored and timgraham committed Nov 25, 2018
1 parent 11a9017 commit 6275b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/test/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 6275b50

Please sign in to comment.