LI3DS / pg-li3ds

PostgreSQL extension for managing 3D sensor data
MIT License
11 stars 2 forks source link

Revert "use yield instead of old fixture wrapping" #44

Closed ldgeo closed 7 years ago

ldgeo commented 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