Add the following code to the test python file such as test_logging.py: import pytest import logging. log = logging.getLogger(name). def test_logger():
確定! 回上一頁