Exemplo n.º 1
0
def test_timespan_negative():
    with pytest.raises(ValueError):
        _ = render.timespan(seconds=-1.)
Exemplo n.º 2
0
def test_timespan(seconds, output):
    assert output == render.timespan(seconds=seconds)