mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -06:00
Python: avoid cleanip in destructor of Instance. It doesn't work right on Linux.
This commit is contained in:
parent
ea45d07b85
commit
6dbe5964a1
@ -106,7 +106,3 @@ class Instance:
|
|||||||
|
|
||||||
path = os.getcwd()
|
path = os.getcwd()
|
||||||
self.commands.setStartDir(path=path)
|
self.commands.setStartDir(path=path)
|
||||||
|
|
||||||
def __del__(self):
|
|
||||||
if self.launched:
|
|
||||||
self.app.exit()
|
|
@ -33,3 +33,6 @@ def pytest_configure(config):
|
|||||||
if not _rips_instance:
|
if not _rips_instance:
|
||||||
print("Need a valid ResInsight executable to launch tests")
|
print("Need a valid ResInsight executable to launch tests")
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
def pytest_unconfigure():
|
||||||
|
_rips_instance.app.exit()
|
Loading…
Reference in New Issue
Block a user