def assertVariantsEqual(self, vars1, vars2):
def _standardize_variants(variants):<EOL><INDENT>return [list(str(req) for req in variant) for variant in variants]<EOL><DEDENT>self.assertEqual(_standardize_variants(vars1),<EOL>_standardize_variants(vars2))<EOL>
Utility function to compare string-variants with formal lists of
        "PackageRequest" objects