def test_char(): with raises(TypeError): myaverage(['a',3])
def test_mymath_mean(): assert myaverage([9,3]) == 6
def test_mymath_mean(): assert myaverage([9, 3]) == 6
def test_char(): with raises(TypeError): myaverage(['a', 3])
def test_zero_mean(): with raises(ValueError): myaverage([])