Home | History | Annotate | Download | only in test

Lines Matching refs:pattern1

1782         pattern1 = re.compile('abc', re.IGNORECASE)
1785 self.assertEqual(pattern1, pattern1)
1786 self.assertFalse(pattern1 != pattern1)
1791 self.assertEqual(hash(pattern2), hash(pattern1))
1792 self.assertEqual(pattern2, pattern1)
1797 # Don't test hash(pattern3) != hash(pattern1) because there is no
1799 self.assertNotEqual(pattern3, pattern1)
1804 self.assertNotEqual(pattern4, pattern1)
1808 pattern1 < pattern2
1811 pattern1 = re.compile(b'abc')
1816 self.assertEqual(hash(pattern2), hash(pattern1))
1817 self.assertEqual(pattern2, pattern1)
1825 self.assertNotEqual(pattern3, pattern1)