(self, saved: SavedScope)
| 118 | |
| 119 | @contextmanager |
| 120 | def saved_scope(self, saved: SavedScope) -> Iterator[None]: |
| 121 | module, info, function = saved |
| 122 | with self.module_scope(module): |
| 123 | with self.class_scope(info) if info else nullcontext(): |
| 124 | with self.function_scope(function) if function else nullcontext(): |
| 125 | yield |
no test coverage detected