def clock_07(): clock_07 = Clock.from_dict({"step": 10.0, "stop": 10000.0}) return clock_07
def clock_05(): clock_05 = Clock.from_dict({"step": 10.0, "stop": 200.0}) return clock_05
def clock_06(): clock_06 = Clock.from_dict({"step": 1.0, "stop": 3.0}) return clock_06
def test_bad_values(bad): params = {"start": 0, "stop": 10, "step": 2} params[bad] = "spam" with pytest.raises(ValueError): Clock.from_dict(params)