(self)
| 3841 | def __init__(self, new_context): |
| 3842 | self.new_context = new_context.copy() |
| 3843 | def __enter__(self): |
| 3844 | self.saved_context = getcontext() |
| 3845 | setcontext(self.new_context) |
| 3846 | return self.new_context |
| 3847 | def __exit__(self, t, v, tb): |
| 3848 | setcontext(self.saved_context) |
| 3849 |
nothing calls this directly
no test coverage detected