/usr/lib/python2.7/dist-packages/colorlog/tests/test_logging.py is in python-colorlog 3.1.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """Test the colorlog.logging module."""
import logging
import colorlog
def test_logging_module(test_logger):
test_logger(logging)
def test_colorlog_module(test_logger):
test_logger(colorlog)
def test_colorlog_basicConfig(test_logger):
colorlog.basicConfig()
test_logger(colorlog.getLogger())
|