Lines Matching defs:check
1804 # issue 3299: check for segfault in debug build
2576 def check(self, pattern, expected):
2583 self.check('random pattern',
2603 self.check('(?i)pattern',
2613 self.check(b'bytes pattern',
2623 self.check('random "double quoted" pattern',
2625 self.check("random 'single quoted' pattern",
2627 self.check('''both 'single' and "double" quotes''',
2662 # bpo-43908: check that re types are immutable
2790 # bytes, and check that it still succeeds.
2802 # Try the match with LOCALE enabled, and check that it
2820 # Try the match with IGNORECASE enabled, and check that it
2826 # Try the match with UNICODE locale enabled, and check