New submission from Ned Deily <n...@acm.org>: When installation tests are run on a user system using the OS X installer, the three tests fail with a crash. Similar results would be expected on other unix-y platforms when tests are run from the install destination, and not the source or build directories (which do not exist on user systems using installers). On 3.1.2rc1 and py3k, each crashes on an import error:
test test_{tk,ttk_guionly,ttk_textonly} crashed -- <class 'ImportError'>: No module named test On trunk (2.7), they crash with; test test_{tk,ttk_guionly,ttk_textonly} crashed -- <type 'exceptions.ImportError'>: No module named runtktests The problem is that the test subdirectories are not being installed by the libinstall Makefile target. For 3.1.2rc1 and py3k, adding the directories to LIBSUBDIRS should get them installed: LIBSUBDIRS= tkinter site-packages test test/output test/data \ tkinter/test tkinter/test/test_tkinter tkinter/test/test_ttk \ test/decimaltestdata \ {...} (Trunk is slightly different.) ---------- components: Tests messages: 101256 nosy: benjamin.peterson, gpolo, ned.deily severity: normal status: open title: test_tk, test_ttk_guionly, and test_ttk_textonly crash when run from install directory versions: Python 2.7, Python 3.1, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8167> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com