Use The AssertLogs Context Manager From unitest. If you are using unittest - the default Python testing library - you can use the TestCase 's assertLogs. Logs ...
確定! 回上一頁