Collection<String> pythonpath = new ArrayList<String>();
pythonpath.add(TestDependent.PYTHON_LIB);
pythonpath.add(TestDependent.PYTHON_SITE_PACKAGES);
PreferenceStore prefs = new PreferenceStore();
String interpreterStr = new InterpreterInfo("2.6", TestDependent.PYTHON_EXE, pythonpath).toString();
prefs.setValue(IInterpreterManager.PYTHON_INTERPRETER_PATH, interpreterStr);
PythonInterpreterManager manager = new PythonInterpreterManager(prefs);
checkSameInterpreterInfo(manager);
manager.clearCaches();
InterpreterInfo info = checkSameInterpreterInfo(manager);
pythonpath = new ArrayList<String>();
pythonpath.add(TestDependent.PYTHON_LIB);
pythonpath.add(TestDependent.PYTHON_SITE_PACKAGES);
pythonpath.add(additionalPythonpathEntry.toString());
interpreterStr = new InterpreterInfo("2.6", TestDependent.PYTHON_EXE, pythonpath).toString();
prefs.setValue(IInterpreterManager.PYTHON_INTERPRETER_PATH, interpreterStr);
info = checkSameInterpreterInfo(manager);
}