(self, test_case, skip=None)
| 418 | """Provide a context for running a Tracer instance with a test case.""" |
| 419 | |
| 420 | def __init__(self, test_case, skip=None): |
| 421 | self.test_case = test_case |
| 422 | self.dry_run = test_case.dry_run |
| 423 | self.tracer = Tracer(test_case.expect_set, skip=skip, |
| 424 | dry_run=self.dry_run, test_case=test_case.id()) |
| 425 | self._original_tracer = None |
| 426 | |
| 427 | def __enter__(self): |
| 428 | # test_pdb does not reset Breakpoint class attributes on exit :-( |