def test_char_median(): with raises(TypeError): mymedian(['a', 3])
def test_zero_median(): with raises(ValueError): mymedian([])
def test_mymath(): assert mymedian([9,3, 6]) == 6
def test_mymath(): assert mymedian([9, 3, 6]) == 6