(self)
| 241 | del cls.root |
| 242 | |
| 243 | def setUp(self): |
| 244 | self.code = compile(TEST_CODE, 'test_stackviewer.py', 'exec') |
| 245 | self.stack = [ |
| 246 | (MockFrame(self.code, 1), 1), |
| 247 | (MockFrame(self.code, 2), 2) |
| 248 | ] |
| 249 | # Create a stackviewer and load the test stack. |
| 250 | self.sv = debugger.StackViewer(self.root, None, None) |
| 251 | self.sv.load_stack(self.stack) |
| 252 | |
| 253 | def test_init(self): |
| 254 | # Test creation of StackViewer. |
nothing calls this directly
no test coverage detected