python try-catch pytest try-except ... import pytest def my_func(string): try: assert string == "pass" print("String is `pass`") except ...
確定! 回上一頁