amulet icon indicating copy to clipboard operation
amulet copied to clipboard

Add back-compat for old-style sentry indexing

Open tvansteenburgh opened this issue 9 years ago • 1 comments

When a test does sentry['mycharm/0'], do sentry['mycharm'][0] behind-the-scenes instead of returning a KeyError. I.e., use the unit num as an index into the sentry array. This will make old tests work again without having to update them all. Arguably this is what we should have done in the first place.

tvansteenburgh avatar Dec 04 '15 15:12 tvansteenburgh

+1

johnsca avatar Dec 04 '15 19:12 johnsca