@classmethod
    def parse(cls, rules):
        if isinstance(rules, cls):
            return rules
        return cls(rules)
Test that a previous operation is retried 3 times before the next operation is attempted.
dataset/ETHPy150Open lad1337/XDM/site-packages/babel/plural.py/PluralRule.parse--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/test/op_manager_test.py/OpManagerTestCase.testRerunBeforeContinue