(self)
| 3419 | s.format()) |
| 3420 | |
| 3421 | def test_locals(self): |
| 3422 | linecache.updatecache('/foo.py', globals()) |
| 3423 | c = test_code('/foo.py', 'method') |
| 3424 | f = test_frame(c, globals(), {'something': 1}) |
| 3425 | s = traceback.StackSummary.extract(iter([(f, 6)]), capture_locals=True) |
| 3426 | self.assertEqual(s[0].locals, {'something': '1'}) |
| 3427 | |
| 3428 | def test_no_locals(self): |
| 3429 | linecache.updatecache('/foo.py', globals()) |
nothing calls this directly
no test coverage detected