-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
type: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Description
This was originally reported at #11489 (comment) but was asked to open a new issue for it. Also see:
Caused by:
Line 1006 in ed8701a
if id[-1].isdigit(): |
To reproduce the failure, create a test using parametrize marker and include empty string as one of the parametrize inputs. Example traceback:
_ ERROR collecting astropy/time/tests/test_mask.py _
...
_pytest/python.py:1338: in parametrize
ids = self._resolve_parameter_set_ids(
_pytest/python.py:1461: in _resolve_parameter_set_ids
return id_maker.make_unique_parameterset_ids()
_pytest/python.py:1006: in make_unique_parameterset_ids
if id[-1].isdigit():
E IndexError: string index out of range
Metadata
Metadata
Assignees
Labels
type: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously