@staticmethod
    def normalize_tag(tag):
        tag = tag.strip()
        if tag.startswith('@'):
            tag = tag[1:]
        elif tag.startswith('-@') or tag.startswith('~@'):
            tag = '-' + tag[2:]
        elif tag.startswith('~'):
            tag = '-' + tag[1:]
        return tag
Tests IsClientResourceExpired() with non-parsable header str date.
dataset/ETHPy150Open behave/behave/behave/tag_expression.py/TagExpression.normalize_tag--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/mac/munki/handlers/__init___test.py/HandlersTest.testPackageModifiedWithInvalidDate