124
124
assume it is installed, and leave it installed when they're done.
133
128
pattern = re.compile('foo')
134
129
self.assertIsInstance(pattern, lazy_regex.LazyRegex)
138
132
lazy_regex.reset_compile()
139
133
self.addCleanup(lazy_regex.install_lazy_compile)
140
134
pattern = re.compile('foo')