diff options
Diffstat (limited to 'docs/logging.txt')
-rw-r--r-- | docs/logging.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/logging.txt b/docs/logging.txt index e5d064d..e52b4b8 100644 --- a/docs/logging.txt +++ b/docs/logging.txt @@ -227,7 +227,7 @@ A common case of this is where you want to check that exception information was logged for certain messages: >>> print(l.records[-1].exc_info) -(<... '...RuntimeError'>, RuntimeError('No code to run!',), <traceback object at ...>) +(<... '...RuntimeError'>, RuntimeError('No code to run!'...), <traceback object at ...>) If you're working in a unit test, the following code may be more appropriate: |