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