(self)
| 2942 | |
| 2943 | @cpython_only |
| 2944 | def test_disallow_instantiation(self): |
| 2945 | # Ensure that the type disallows instantiation (bpo-43916) |
| 2946 | check_disallow_instantiation(self, re.Match) |
| 2947 | check_disallow_instantiation(self, re.Pattern) |
| 2948 | pat = re.compile("") |
| 2949 | check_disallow_instantiation(self, type(pat.scanner(""))) |
| 2950 | |
| 2951 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 2952 | def test_deprecated_modules(self): |
nothing calls this directly
no test coverage detected