Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _setUp(self): self.addCleanup(setattr, _utils, "_enabled", True) _utils._enabled = False
A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.