(self)
| 209 | class test_FastLocalStack: |
| 210 | |
| 211 | def test_stack(self): |
| 212 | x = _FastLocalStack() |
| 213 | x.push(['foo']) |
| 214 | x.push(['bar']) |
| 215 | assert x.top == ['bar'] |
| 216 | assert len(x) == 2 |
| 217 | x.pop() |
| 218 | assert x.top == ['foo'] |
| 219 | x.pop() |
| 220 | assert x.top is None |
| 221 | |
| 222 | |
| 223 | class test_LocalManager: |
nothing calls this directly
no test coverage detected