Skip to content

Commit

Permalink
Fix the PythonObjectInstantiator test. Refs #4924
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Apr 23, 2012
1 parent f043515 commit ddaf3f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class PythonObjectInstantiatorTest: public CxxTest::TestSuite
//Assume this is where the mantid package is too
std::string code = "import sys\n"
"sys.path.append(r'" + propDir + "')\n"
"from mantid import PythonAlgorithm\n"
"from mantid.api import PythonAlgorithm\n"
"class PyAlg(PythonAlgorithm):\n"
" pass\n";
PyRun_SimpleString(code.c_str());
Expand Down

0 comments on commit ddaf3f6

Please sign in to comment.