def test_pattern_escaping(self):
        # Make sure any characters in the format string that might be taken as
        # regex syntax is escaped.
        pattern_string = self.time_re.pattern("\d+")
        self.failUnless(pattern_string in r"\\d\+",
                        "%s does not have re characters escaped properly" %
                        pattern_string)
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_strptime.py/TimeRETests.test_pattern_escaping/swapped operands of `in`