How can you test that function with pytest? ... def test_double_str(monkeypatch): with pytest.raises(ValueError): ...
確定! 回上一頁