diff --git a/testsuite/cmake/test_install.sh b/testsuite/cmake/test_install.sh index d70cc6de348..2e8fbc44fc5 100755 --- a/testsuite/cmake/test_install.sh +++ b/testsuite/cmake/test_install.sh @@ -31,8 +31,7 @@ function test_install() { assert_file_exists "${filepath}" done - # check the espressomd module can be imported from python3 and pypresso - assert_return_code "@PYTHON_EXECUTABLE@" -c "import sys;sys.path.insert(0, '@CMAKE_INSTALL_PREFIX@/@Python_SITEARCH@');import espressomd" + # check the espressomd module can be imported from pypresso assert_return_code "@CMAKE_INSTALL_PREFIX@/bin/pypresso" -c "import espressomd" }