Merge pull request #1662 from joakim-hove/fix-non-python
Fix codepath for non-python
This commit is contained in:
@@ -37,7 +37,7 @@ using namespace Opm;
|
||||
#ifndef EMBEDDED_PYTHON
|
||||
|
||||
BOOST_AUTO_TEST_CASE(INSTANTIATE) {
|
||||
auto python = std::make_shared<Python>();
|
||||
Python python;
|
||||
BOOST_CHECK(!python.enabled());
|
||||
BOOST_CHECK_THROW(python.exec("print('Hello world')"), std::logic_error);
|
||||
BOOST_CHECK(! Python::supported() );
|
||||
|
||||
Reference in New Issue
Block a user