Пример #1
0
def test_delta_err(args, err_type):
    with pytest.raises(err_type):
        rdt.make_delta(*args)
Пример #2
0
def test_delta(args):
    act = pdt.timedelta(*args)
    exp = rdt.make_delta(*args)

    assert act == exp