/usr/lib/python3/dist-packages/colorlog/tests/test_exports.py is in python3-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 | """Test that `from colorlog import *` works correctly."""
from colorlog import * # noqa
def test_exports():
assert set((
'ColoredFormatter', 'default_log_colors', 'escape_codes',
'basicConfig', 'root', 'getLogger', 'debug', 'info', 'warning',
'error', 'exception', 'critical', 'log', 'exception'
)) < set(globals())
|