(self, exc_type, exc_val, exc_tb)
| 119 | self._freeze_backup = backup_collection(self._freeze_keys) |
| 120 | |
| 121 | def __exit__(self, exc_type, exc_val, exc_tb): |
| 122 | if exc_type is not None: |
| 123 | return False |
| 124 | new_coll = backup_collection() |
| 125 | |
| 126 | if self._check_diff: |
| 127 | self._print_diff(new_coll) |
| 128 | self._restore_freeze(new_coll) |
| 129 | return False |
| 130 | |
| 131 | def _print_diff(self, new): |
| 132 | newly_created = [] |
nothing calls this directly
no test coverage detected