(self)
| 2955 | |
| 2956 | @cpython_only |
| 2957 | def test_disallow_instantiation(self): |
| 2958 | # Ensure that the type disallows instantiation (bpo-43916) |
| 2959 | check_disallow_instantiation(self, re.Match) |
| 2960 | check_disallow_instantiation(self, re.Pattern) |
| 2961 | pat = re.compile("") |
| 2962 | check_disallow_instantiation(self, type(pat.scanner(""))) |
| 2963 | |
| 2964 | @cpython_only |
| 2965 | def test_case_helpers(self): |
nothing calls this directly
no test coverage detected