D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
setuptools
/
_distutils
/
tests
/
Filename :
test_log.py
back
Copy
"""Tests for distutils.log""" import logging from distutils._log import log class TestLog: def test_non_ascii(self, caplog): caplog.set_level(logging.DEBUG) log.debug('Dεbug\tMėssãge') log.fatal('Fαtal\tÈrrōr') assert caplog.messages == ['Dεbug\tMėssãge', 'Fαtal\tÈrrōr']