示例#1
0
def test_print_maps3(capsys):
    # just make sure there are no errors
    brewer2mpl.print_maps('sequential', 6)
    out, err = capsys.readouterr()
    assert out
示例#2
0
def test_print_maps_raises():
    with pytest.raises(ValueError):
        brewer2mpl.print_maps(number=6)
示例#3
0
def test_print_maps1(capsys):
    # just make sure there are no errors
    brewer2mpl.print_maps()
    out, err = capsys.readouterr()
    assert out