E1129 not-context-manager¶
- Message
"Context manager '%s' doesn't implement __enter__ and __exit__."
- Description
Used when an instance in a with statement doesn’t implement the context manager protocol(__enter__/__exit__).
"Context manager '%s' doesn't implement __enter__ and __exit__."
Used when an instance in a with statement doesn’t implement the context manager protocol(__enter__/__exit__).