(self)
| 48 | class test_LocalStack: |
| 49 | |
| 50 | def test_stack(self): |
| 51 | x = _LocalStack() |
| 52 | assert x.pop() is None |
| 53 | x.__release_local__() |
| 54 | ident = x.__ident_func__ |
| 55 | x.__ident_func__ = ident |
| 56 | |
| 57 | with pytest.raises(RuntimeError): |
| 58 | x()[0] |
| 59 | |
| 60 | x.push([&class="cm">#x27;foo']) |
| 61 | assert x()[0] == &class="cm">#x27;foo' |
| 62 | x.pop() |
| 63 | with pytest.raises(RuntimeError): |
| 64 | x()[0] |
| 65 | |
| 66 | |
| 67 | class test_FastLocalStack: |
nothing calls this directly
no test coverage detected