Apparently. Test cases are put in dicts in the std lib I'm fairly sure this is done, so it isn't an onerous requirement.