(self)
| 3 | self.db_name = db_name |
| 4 | |
| 5 | def __enter__(self): |
| 6 | print(f"Connecting to database '{self.db_name}'...") |
| 7 | self.connected = True |
| 8 | return self |
| 9 | |
| 10 | def __exit__(self, exc_type, exc_val, exc_tb): |
| 11 | print(f"Closing connection to '{self.db_name}'...") |
nothing calls this directly
no outgoing calls
no test coverage detected