diff --git a/tests/test_eclblackoilfluidsystem.cpp b/tests/test_eclblackoilfluidsystem.cpp index 3919921a1..f13cf4f55 100644 --- a/tests/test_eclblackoilfluidsystem.cpp +++ b/tests/test_eclblackoilfluidsystem.cpp @@ -632,7 +632,7 @@ inline void testAll() Opm::Parser parser; auto deck = parser.parseString(deckString1); - Opm::Python python; + auto python = std::make_shared(); Opm::EclipseState eclState(deck); Opm::Schedule schedule(deck, eclState, python); diff --git a/tests/test_eclblackoilpvt.cpp b/tests/test_eclblackoilpvt.cpp index 91154cf92..cc05001f9 100644 --- a/tests/test_eclblackoilpvt.cpp +++ b/tests/test_eclblackoilpvt.cpp @@ -224,7 +224,7 @@ inline void testAll() static const Scalar tolerance = std::numeric_limits::epsilon()*1e3; Opm::Parser parser; - Opm::Python python; + auto python = std::make_shared(); auto deck = parser.parseString(deckString1); Opm::EclipseState eclState(deck); diff --git a/tests/test_fluidsystems.cpp b/tests/test_fluidsystems.cpp index 2862b3240..5586f39c8 100644 --- a/tests/test_fluidsystems.cpp +++ b/tests/test_fluidsystems.cpp @@ -75,7 +75,7 @@ void ensureBlackoilApi() // that they compile while (false) { #if HAVE_ECL_INPUT - Opm::Python python; + auto python = std::make_shared(); Opm::Deck deck; Opm::EclipseState eclState(deck); Opm::Schedule schedule(deck, eclState, python);