use exec so that it is called in child scope. alternatively could use IIFE but this is more verbose in the tests
(self, source: str)
| 17 | self.maxDiff = None |
| 18 | |
| 19 | def trace(self, source: str): |
| 20 | """ |
| 21 | use exec so that it is called in child scope. |
| 22 | |
| 23 | alternatively could use IIFE but this is more verbose |
| 24 | in the tests |
| 25 | """ |
| 26 | with self.tracer: # type: ignore |
| 27 | exec(source) |
| 28 | |
| 29 | def assertCalls(self, *calls): |
| 30 | self.assertListEqual( |
no outgoing calls
no test coverage detected