[IPython-dev] What is the status of testing infrastructure on trunk?

Jörgen Stenarson jorgen.stenarson@bostream...
Mon May 4 13:00:32 CDT 2009


Hi,

What is the status of testing infrastructure on trunk? The results of 
using current trunk are a bit confusing

just running plain iptest I get this crash:

*****************************************************************************
IPython test set: tests
Traceback (most recent call last):
   File "..\..\scripts\iptest", line 8, in <module>
     iptest.main()
   File "c:\python\external\ipython-trunk\IPython\testing\iptest.py", 
line 291, in main
     run_iptestall()
   File "c:\python\external\ipython-trunk\IPython\testing\iptest.py", 
line 262, in run_iptestall
     res = runner.run()
   File "c:\python\external\ipython-trunk\IPython\testing\iptest.py", 
line 190, in run
     return subprocess.call(self.call_args)
   File "C:\Python25\lib\subprocess.py", line 444, in call
     return Popen(*popenargs, **kwargs).wait()
   File "C:\Python25\lib\subprocess.py", line 594, in __init__
     errread, errwrite)
   File "C:\Python25\lib\subprocess.py", line 816, in _execute_child
     startupinfo)
WindowsError: [Error 2] Det går inte att hitta filen

but with iptest -v I do not get a crash like this but rather many errors 
(most related to missing modules, like twisted) and one failure but not 
due to a WindowsError.


Doctest: IPython.Extensions.InterpreterPasteInput ... ok
Doctest: IPython.Extensions.astyle.Style.__init__ ... ok
Doctest: IPython.Extensions.ipipe ... ok
Doctest: IPython.Extensions.ipipe.ialias ... ok
Doctest: IPython.Extensions.ipipe.icap ... ok
Doctest: IPython.Extensions.ipipe.icap ... ok
Doctest: IPython.Extensions.ipipe.ienum ... ok
Doctest: IPython.Extensions.ipipe.ienv ... ok
Doctest: IPython.Extensions.ipipe.ieval ... ok
Doctest: IPython.Extensions.ipipe.ifilter ... ok
Doctest: IPython.Extensions.ipipe.iglob ... ok
Doctest: IPython.Extensions.ipipe.ihist ... ok
Doctest: IPython.Extensions.ipipe.ils ... ok
Doctest: IPython.Extensions.ipipe.ipwd ... ok
Doctest: IPython.Extensions.ipipe.isort ... ok
Doctest: IPython.Extensions.ipipe.iwalk ... ok
Doctest: IPython.Extensions.ipipe.ix ... ok
Doctest: IPython.Magic.Magic.magic_alias ... ok
Doctest: IPython.Magic.Magic.magic_macro ... ok
Doctest: IPython.Magic.Magic.magic_prun ... ok
Doctest: IPython.Magic.Magic.magic_reset ... ok
Doctest: IPython.Magic.Magic.magic_run ... ok
Doctest: IPython.Magic.Magic.magic_sc ... ok
Doctest: IPython.Magic.Magic.magic_timeit ... ok
Doctest: IPython.Magic.Magic.magic_who ... ok
Doctest: IPython.Shell.MatplotlibShellBase.magic_run ... ok
Doctest: IPython.Shell.MatplotlibShellBase.magic_run ... ok
Doctest: IPython.Shell.MatplotlibShellBase.magic_run ... ok
Doctest: IPython.deep_reload ... ok
Doctest: IPython.excolors.exception_colors ... ok
Failure: ImportError (No module named zope.interface) ... ERROR
Failure: ImportError (No module named twisted.python) ... ERROR
Failure: ImportError (No module named twisted.python) ... ERROR
Failure: ImportError (No module named twisted.python) ... ERROR
Failure: ImportError (No module named twisted.python) ... ERROR
Failure: ImportError (No module named twisted.python) ... ERROR
Failure: ImportError (No module named twisted.trial) ... ERROR
Failure: ImportError (No module named twisted.python) ... ERROR
Failure: ImportError (No module named twisted.python) ... ERROR
Failure: ImportError (No module named twisted.python) ... ERROR
A simple test to see if we can execute a process and get the output. ... ok
Checks that we can send characters on stdin to the process. ... ok
Check that we can kill a process, and its subprocess. ... ok
Doctest: IPython.genutils.EvalDict ... ok
Doctest: IPython.genutils.SystemExec ... ok
Doctest: IPython.genutils.qw ... ok
Doctest: IPython.genutils.read_dict ... ok
Doctest: IPython.iplib.InteractiveShell.cache_main_mod ... ok
Doctest: IPython.iplib.InteractiveShell.clear_main_mod_cache ... ok
Doctest: IPython.iplib.InteractiveShell.complete ... ok
Doctest: IPython.ipstruct.Struct ... ok
Doctest: IPython.ipstruct.Struct.__contains__ ... ok
Failure: ImportError (No module named twisted.python) ... ERROR
Failure: ImportError (No module named Numeric) ... ERROR
Doctest: IPython.platutils_win32.get_long_path_name ... ok
Doctest: IPython.strdispatch.StrDispatch ... ok
Doctest: IPython.tools.utils.extractVars ... ok
Doctest: IPython.tools.utils.list_strings ... ok
Doctest: IPython.tools.utils.marquee ... ok
Doctest: IPython.tools.utils.shexp ... ok
Doctest: test_tools_utils.txt ... ok
Failure: ImportError (No module named twisted.internet) ... ERROR
Doctest: IPython.testing.decorator_msim.decorator ... ok
Doctest: IPython.testing.decorator_msim.getinfo ... ok
Doctest: IPython.testing.decorators ... ok
Doctest: IPython.testing.decorators.make_label_dec ... ok
Failure: ImportError (No module named twisted.trial.unittest) ... ERROR
Doctest: IPython.testing.plugin.simple.ipyfunc2 ... ok
Doctest: IPython.testing.plugin.simple.pyfunc ... ok
Doctest: test_combo.txt ... ok
Doctest: test_example.txt ... ok
Doctest: IPython.testing.plugin.test_ipdoctest.doctest_multiline1 ... ok
Doctest: IPython.testing.plugin.test_ipdoctest.doctest_multiline2 ... ok
Doctest: IPython.testing.plugin.test_ipdoctest.doctest_multiline3 ... ok
Doctest: IPython.testing.plugin.test_ipdoctest.doctest_run_builtins ... ok
Doctest: IPython.testing.plugin.test_ipdoctest.doctest_simple ... ok
A trivial passing test. ... ok
Doctest: IPython.testing.plugin.test_refs.doctest_ivars ... ok
Doctest: IPython.testing.plugin.test_refs.doctest_refs ... ok
Doctest: IPython.testing.plugin.test_refs.doctest_run ... ok
Doctest: IPython.testing.plugin.test_refs.doctest_runvars ... ok
Failure: ImportError (No module named twisted.trial) ... ERROR
Another deliberately broken test - we want to skip this one. ... SKIP: 
Skipping test: test_deliberately_broken2. Testing the skip decorator
Doctest-skipping decorator should preserve the docstring. ... ok
Doctest-skipping decorator should preserve function signature. ... ok
IPython.testing.tests.test_decorators.test_linux ... ok
IPython.testing.tests.test_decorators.test_win32 ... SKIP: Skipping 
test: test_win32. This test does not run under Windows
IPython.testing.tests.test_decorators.test_osx ... ok
Doctest: IPython.testing.tests.test_decorators.call_doctest_bad ... ok
Doctest: IPython.testing.tests.test_decorators.doctest_bad ... ok
Doctest: IPython.testing.tests.test_decorators.doctest_bad ... ok
Doctest: IPython.testing.tests.test_decorators.foo ... ok
Doctest: IPython.testing.tests.test_decorators.foo.__init__ ... ok
Doctest: IPython.testing.tests.test_decorators.foo.baz ... ok
Failure: ImportError (No module named twisted.trial) ... ERROR
IPython.testing.tests.test_tools.test_full_path_posix ... SKIP: Skipping 
test: test_full_path_posix. This test does not run under Windows
IPython.testing.tests.test_tools.test_full_path_win32 ... ok
IPython.tests.test_fakemodule.test_mk_fakemod(<module '?' from 
'c:\python\external\ipython-trunk\IPython\FakeModule.pyc'>,) ... ok
IPython.tests.test_fakemodule.test_mk_fakemod(<function <lambda> at 
0x03DCA870>,) ... ok
Test making a FakeModule object with initial data ... ok
Testcase for py2exe logic, un-compressed lib ... ok
Testcase for py2exe logic, compressed lib ... ok
Testcase $HOME is set, then use its value as home directory. ... ok
Testcase $HOME is not set, os=='poix'. ... ok
Testcase $HOME is not set, os=='nt' ... ok
Testcase $HOME is not set, os=='nt' ... ok
Testcase $HOME is not set, os=='nt' ... ok
test_get_ipython_dir_1, Testcase to see if we can call get_ipython_dir 
without Exceptions. ... ok
test_get_ipython_dir_2, Testcase to see if we can call get_ipython_dir 
without Exceptions. ... ok
test_get_ipython_dir_3, Testcase to see if we can call get_ipython_dir 
without Exceptions. ... ok
Testcase to see if we can call get_security_dir without Exceptions. ... ok
Testcase to see if we can call get_log_dir without Exceptions. ... ok
test_popkey_1, Basic usage test of popkey ... ok
test_popkey_2, Test to see that popkey of non occuring keys ... ok
test_popkey_3, Tests to see that popkey calls returns the correct value 
... ok
Various tests for filefind ... ok
reset must clear most namespaces. ... ok
IPython.tests.test_iplib.test_user_setup((u'C:\\Documents and 
Settings\\jstenar\\_ipython', ''), {'mode': 'install', 'interactive': 
False}) ... ok
IPython.tests.test_iplib.test_user_setup(u'C:\\Documents and 
Settings\\jstenar\\_ipython',) ... ok
IPython.tests.test_iplib.test_user_setup(('c:\\docume~1\\jstenar\\lokala~1\\temp\\ipython-test-sqeca1', 
''), {'mode': 'install', 'interactive': False}) ... ok
IPython.tests.test_iplib.test_user_setup('c:\\docume~1\\jstenar\\lokala~1\\temp\\ipython-test-sqeca1',) 
... ok
Check that %run doesn't damage __builtins__ ... SKIP: Skipping test: 
test_builtins_id. This test does not run under Windows
Check that the type of __builtins__ doesn't change with %run. ... SKIP: 
Skipping test: test_builtins_type. This test does not run under Windows
Test that prompts correctly generate after %run ... SKIP: Skipping test: 
test_prompts. This test does not run under Windows
IPython.tests.test_magic.TestMagicRun.test_run_tempfile_path ... FAIL
IPython.tests.test_magic.test_rehashx ... ok
Test that object's __del__ methods are called on exit. ... ERROR
IPython.tests.test_magic.test_shist([(1, 'hello'), (2, 'world'), (3, 
'karhu')], [(1, 'hello'), (2, 'world'), (3, 'karhu')]) ... ok
IPython.tests.test_magic.test_shist('world', 'world') ... ok
IPython.tests.test_magic.test_numpy_clear_array_undec(True,) ... ok
IPython.tests.test_magic.test_numpy_clear_array_undec(False,) ... ok
SKIP: Skipping test: test_fail_dec. Test skipped due to test condition.
SKIP: Skipping test: test_fail_dec2. This one shouldn not run
SKIP: Skipping test: test_fail_dec3. This test is known to fail
Doctest: IPython.tests.test_magic.doctest_hist_f ... ok
Doctest: IPython.tests.test_magic.doctest_hist_r ... ok
Doctest: IPython.tests.test_magic.doctest_refbug ... ok
Doctest: IPython.tests.test_magic.doctest_run_ns ... ok
Doctest: IPython.tests.test_magic.doctest_run_ns2 ... ok
Make sure we find sys.exectable for python. ... ok
Try to find pythonw on Windows. ... ok
Make sure that FindCmdError is raised if we can't find the cmd. ... ok
IPython.tests.test_platutils.test_get_long_path_name_win32 ... ok
IPython.tests.test_platutils.test_get_long_path_name ... SKIP: Skipping 
test: test_get_long_path_name. This test does not run under Windows

======================================================================
ERROR: Failure: ImportError (No module named zope.interface)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\asyncfrontendbase.py", 
line 20, in <module>
     from zope.interface import Interface, Attribute, implements, 
classProvides
ImportError: No module named zope.interface

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\frontendbase.py", 
line 32, in <module>
     from IPython.kernel.core.history import FrontEndHistory
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\linefrontendbase.py", 
line 24, in <module>
     from frontendbase import FrontEndBase
   File 
"c:\python\external\ipython-trunk\IPython\frontend\frontendbase.py", 
line 32, in <module>
     from IPython.kernel.core.history import FrontEndHistory
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\prefilterfrontend.py", 
line 32, in <module>
     from IPython.kernel.core.redirector_output_trap import 
RedirectorOutputTrap
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\wx\ipythonx.py", line 
16, in <module>
     from wx_frontend import WxController
   File 
"c:\python\external\ipython-trunk\IPython\frontend\wx\wx_frontend.py", 
line 38, in <module>
     from IPython.frontend.prefilterfrontend import PrefilterFrontEnd
   File 
"c:\python\external\ipython-trunk\IPython\frontend\prefilterfrontend.py", 
line 32, in <module>
     from IPython.kernel.core.redirector_output_trap import 
RedirectorOutputTrap
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\wx\wx_frontend.py", 
line 38, in <module>
     from IPython.frontend.prefilterfrontend import PrefilterFrontEnd
   File 
"c:\python\external\ipython-trunk\IPython\frontend\prefilterfrontend.py", 
line 32, in <module>
     from IPython.kernel.core.redirector_output_trap import 
RedirectorOutputTrap
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named twisted.trial)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\tests\test_asyncfrontendbase.py", 
line 21, in <module>
     from twisted.trial import unittest
ImportError: No module named twisted.trial

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\tests\test_frontendbase.py", 
line 15, in <module>
     from IPython.frontend.frontendbase import FrontEndBase
   File 
"c:\python\external\ipython-trunk\IPython\frontend\frontendbase.py", 
line 32, in <module>
     from IPython.kernel.core.history import FrontEndHistory
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\tests\test_linefrontend.py", 
line 15, in <module>
     from IPython.frontend.linefrontendbase import LineFrontEndBase
   File 
"c:\python\external\ipython-trunk\IPython\frontend\linefrontendbase.py", 
line 24, in <module>
     from frontendbase import FrontEndBase
   File 
"c:\python\external\ipython-trunk\IPython\frontend\frontendbase.py", 
line 32, in <module>
     from IPython.kernel.core.history import FrontEndHistory
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\frontend\tests\test_prefilterfrontend.py", 
line 21, in <module>
     from IPython.frontend.prefilterfrontend import PrefilterFrontEnd
   File 
"c:\python\external\ipython-trunk\IPython\frontend\prefilterfrontend.py", 
line 32, in <module>
     from IPython.kernel.core.redirector_output_trap import 
RedirectorOutputTrap
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named twisted.python)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File "c:\python\external\ipython-trunk\IPython\kernel\__init__.py", 
line 25, in <module>
     from IPython.kernel.error import TaskRejectError
   File "c:\python\external\ipython-trunk\IPython\kernel\error.py", line 
19, in <module>
     from twisted.python import failure
ImportError: No module named twisted.python

======================================================================
ERROR: Failure: ImportError (No module named Numeric)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File "c:\python\external\ipython-trunk\IPython\numutils.py", line 31, 
in <module>
     import Numeric
ImportError: No module named Numeric

======================================================================
ERROR: Failure: ImportError (No module named twisted.internet)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File "c:\python\external\ipython-trunk\IPython\twshell.py", line 7, 
in <module>
     from twisted.internet import reactor, threads
ImportError: No module named twisted.internet

======================================================================
ERROR: Failure: ImportError (No module named twisted.trial.unittest)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\testing\parametric.py", line 
7, in <module>
     from twisted.trial.unittest import TestCase
ImportError: No module named twisted.trial.unittest

======================================================================
ERROR: Failure: ImportError (No module named twisted.trial)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File "c:\python\external\ipython-trunk\IPython\testing\util.py", line 
18, in <module>
     from twisted.trial import unittest
ImportError: No module named twisted.trial

======================================================================
ERROR: Failure: ImportError (No module named twisted.trial)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", 
line 364, in loadTestsFromName
     addr.filename, addr.module)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"c:\python\external\ipython-trunk\IPython\testing\tests\test_decorators_trial.py", 
line 23, in <module>
     from twisted.trial import unittest
ImportError: No module named twisted.trial

======================================================================
ERROR: Test that object's __del__ methods are called on exit.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\case.py", line 
182, in runTest
     self.test(*self.arg)
   File "c:\python\external\ipython-trunk\IPython\tests\test_magic.py", 
line 67, in test_obj_del
     ipython_cmd = find_cmd('ipython')
   File "c:\python\external\ipython-trunk\IPython\platutils.py", line 
86, in find_cmd
     raise FindCmdError('command could not be found: %s' % cmd)
FindCmdError: command could not be found: ipython

======================================================================
FAIL: IPython.tests.test_magic.TestMagicRun.test_run_tempfile_path
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\case.py", line 
182, in runTest
     self.test(*self.arg)
   File 
"c:\python\external\ipython-trunk\IPython\testing\decorators.py", line 
171, in skipper_func
     return f(*args, **kwargs)
   File "c:\python\external\ipython-trunk\IPython\tests\test_magic.py", 
line 215, in test_run_tempfile_path
     tt.assert_equals(True,False,"%run doesn't work with tempfile paths 
on win32.")
   File "<string>", line 3, in assert_equals
AssertionError: %run doesn't work with tempfile paths on win32.
 >>  raise self.failureException, \
           ("%run doesn't work with tempfile paths on win32." or '%r != 
%r' % (True, False))


----------------------------------------------------------------------
Ran 141 tests in 1.703s

FAILED (SKIP=10, errors=17, failures=1)
obj_del.py: object A deleted


More information about the IPython-dev mailing list