public void PythonInterop3() {
if (!_driver.RunPython) return;
var py = Runtime.GetEngine("python");
var scope = py.CreateScope();
py.Execute(@"
def python():
return 'Python'
", scope);
Engine.Execute(@"
def ruby
python.call + ' + Ruby'
end
", scope);
AssertOutput(() => py.Execute(@"
print ruby()
", scope), @"
Python + Ruby
");
}