(pool_factory)
| 224 | |
| 225 | @pytest.mark.parametrize('pool_factory', supported_factories()) |
| 226 | def test_debug_memory_pool_trap(pool_factory): |
| 227 | res = run_debug_memory_pool(pool_factory.__name__, "trap") |
| 228 | if os.name == "posix": |
| 229 | assert res.returncode == -signal.SIGTRAP |
| 230 | else: |
| 231 | assert res.returncode != 0 |
| 232 | assert "Wrong size on deallocation" in res.stderr |
| 233 | |
| 234 | |
| 235 | @pytest.mark.parametrize('pool_factory', supported_factories()) |
nothing calls this directly
no test coverage detected