예제 #1
0
def test_foo_say2():
    assert Foo().say2() == 'foo2'
예제 #2
0
def test_foo_say_typeerror():
    with pytest.raises(TypeError):
        Foo().say(12)