from unittest.mock import Mock, MagicMock >>> >>> int(Mock()) TypeError: int() argument must be a string, a bytes-like object or a number, ...
確定! 回上一頁