Add '# pragma: no cover' as no easy way to test

This commit is contained in:
Hugo 2018-05-16 11:45:44 +03:00
parent fce5e5d830
commit eae4b6261c

View file

@ -2204,7 +2204,7 @@ class User(_BaseObject, _Chartable):
params):
try:
artist = _extract(track, "name", 1)
except IndexError:
except IndexError: # pragma: no cover
continue
title = _extract(track, "name")
date = _extract(track, "date")