Debian Codegraph @

tests/test_benchmark.py

raw symbols SCIP
1 from isodate import parse_duration
2 from isoduration import parse_duration as isodate_parse_duration
3
4
5 def test_isoduration(benchmark):
6 benchmark(parse_duration, "P18Y9M4DT11H9M8S")
7
8
9 def test_isodate(benchmark):
10 benchmark(isodate_parse_duration, "P18Y9M4DT11H9M8S")