Skip to content

Commit 335af26

Browse files
committed
Logger names should be strings
1 parent 75cf4c9 commit 335af26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/logging_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
# This should produce no output
2222

23-
null_logger = logging.getLogger(None)
23+
null_logger = logging.getLogger("null")
2424
null_handler = logging.NullHandler()
2525
null_logger.addHandler(null_handler)
2626

0 commit comments

Comments
 (0)