diff --git a/week05-testing/test_times.py b/week05-testing/test_times.py index cc3aa95..6af2fee 100644 --- a/week05-testing/test_times.py +++ b/week05-testing/test_times.py @@ -5,7 +5,7 @@ with open('week05-testing/fixture.yaml') as f: inputs = yaml.load(f, Loader=yaml.FullLoader) -@pytest.mark.parametrize("interval1, interval2, expected", [x.values() for x in inputs.values()], ids=inputs.keys()) +@pytest.mark.parametrize("interval1, interval2, expected", [x.values() for x in inputs.values()], ids=list(inputs.keys())) def test_input(interval1, interval2, expected): result = compute_overlap_time(eval(interval1), eval(interval2)) assert result == list(map(eval, expected))