| 10 | class TestLazyRegexCompiler: |
| 11 | def test_lazy_regex_compiler_verify_laziness_of_descriptor(self): |
| 12 | class UserEmail: |
| 13 | EMAIL_REGEX = LazyRegexCompiler("@", flags=32) |
| 14 | |
| 15 | descriptor = UserEmail.__dict__["EMAIL_REGEX"] |
| 16 | assert descriptor._compiled_regex is None |
searching dependent graphs…