source: git/Tst/Manual/python_run.tst @ 7161aca

fieker-DuValspielwiese
Last change on this file since 7161aca was fe237b8, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Fixed pure python-related test
  • Property mode set to 100644
File size: 243 bytes
Line 
1LIB "tst.lib"; tst_init(); LIB("pyobject.so");
2  python_run("def newfunc(*args): return list(args)");
3  newfunc(1, 2, 3);          // newfunc also known to SINGULAR now
4
5  python_run("import os"); //  os;
6  attrib(os, "name");
7tst_status(1);$
Note: See TracBrowser for help on using the repository browser.