Closed ldgeo closed 7 years ago
This reverts commit 283cef1af94fb3a5658b0051827d6f2c8d581013.
When an exception occurs in the setup, the function pg.shutdown() is never called, resulting in a postgres process still running in background. this is explained here : https://docs.pytest.org/en/latest/fixture.html#fixture-finalization-executing-teardown-code
This reverts commit 283cef1af94fb3a5658b0051827d6f2c8d581013.
When an exception occurs in the setup, the function pg.shutdown() is never called, resulting in a postgres process still running in background. this is explained here : https://docs.pytest.org/en/latest/fixture.html#fixture-finalization-executing-teardown-code