class TestSetupTeardownExample: @classmethod def setup_class(cls): print("setup class") ... You can see that when you run it with -s option: $ pytest -s .
確定! 回上一頁