(self)
| 1132 | class TestManyEvents(CheckEvents): |
| 1133 | |
| 1134 | def test_simple(self): |
| 1135 | |
| 1136 | def func1(): |
| 1137 | line1 = 1 |
| 1138 | line2 = 2 |
| 1139 | line3 = 3 |
| 1140 | |
| 1141 | self.check_events(func1, recorders = MANY_RECORDERS, expected = [ |
| 1142 | ('line', 'get_events', 10), |
| 1143 | ('call', 'func1', sys.monitoring.MISSING), |
| 1144 | ('line', 'func1', 1), |
| 1145 | ('line', 'func1', 2), |
| 1146 | ('line', 'func1', 3), |
| 1147 | ('line', 'get_events', 11), |
| 1148 | ('call', 'set_events', 2)]) |
| 1149 | |
| 1150 | def test_c_call(self): |
| 1151 |
nothing calls this directly
no test coverage detected