mirror of
https://github.com/python/cpython.git
synced 2024-12-02 06:14:49 +08:00
Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
This commit is contained in:
parent
7a7160bd0c
commit
80d2df86dc
@ -491,6 +491,10 @@ config1: ok.
|
||||
config2: exceptions.AttributeError
|
||||
config3: exceptions.KeyError
|
||||
-- log_test4 end ---------------------------------------------------
|
||||
-- log_test5 begin ---------------------------------------------------
|
||||
ERROR:root:just testing
|
||||
exceptions.KeyError... Don't panic!
|
||||
-- log_test5 end ---------------------------------------------------
|
||||
-- logrecv output begin ---------------------------------------------------
|
||||
ERR -> CRITICAL: Message 0 (via logrecv.tcp.ERR)
|
||||
ERR -> ERROR: Message 1 (via logrecv.tcp.ERR)
|
||||
|
Loading…
Reference in New Issue
Block a user