diff --git a/ApplicationCode/GrpcInterface/Python/rips/tests/conftest.py b/ApplicationCode/GrpcInterface/Python/rips/tests/conftest.py index f0279863d5..0fe2349c60 100644 --- a/ApplicationCode/GrpcInterface/Python/rips/tests/conftest.py +++ b/ApplicationCode/GrpcInterface/Python/rips/tests/conftest.py @@ -45,4 +45,5 @@ def pytest_configure(config): def pytest_unconfigure(config): if not config.getoption('--existing'): - _rips_instance.exit() + if _rips_instance: + _rips_instance.exit()