Skip to content

@jstenar /missinglib
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Missing libraries cause ImportError in tests
**********************************************************************
IPython test group: IPython.config
.................
----------------------------------------------------------------------
Ran 17 tests in 0.012s
OK
**********************************************************************
IPython test group: IPython.core
>f2("a b c")
>f1("a", "b", "c")
>f1(1,2,3)
>f2(4)
....................................F.......>autocallable()
>list("1", "2", "3")
>list("1 2 3")
>len(range(1,4))
>list("1", "2", "3")
>list("1 2 3")
>len(range(1,4))
>len("abc")
>len("abc");
>len([1,2])
>call_idx(1)
>list("1", "2", "3")
>list("1 2 3")
>len(range(1,4))
>len("abc")
>len("abc");
>len([1,2])
>call_idx(1)
>len()
..............................................................................................................Out[6]: 1
..Out[9]: 'a\nb'
.Out[10]: 'a'
Out[11]: 'a\nb'
........FFFF.........E...K...F..Out[10]: <A instance>
...test
test
...............................................>f(1)
..............................................................................EEEKSESF.F
======================================================================
ERROR: Failure: error (nothing to repeat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\loader.py", line 231, in generate
for test in g():
File "c:\python\external\ipython-master\IPython\core\tests\test_magic.py", line 32, in test_rehashx
_ip.magic('rehashx')
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 2628, in magic_rehashx
execre = re.compile(r'(.*)\.(%s)$' % winext,re.IGNORECASE)
File "c:\python26\lib\re.py", line 190, in compile
return _compile(pattern, flags)
File "c:\python26\lib\re.py", line 245, in _compile
raise error, v # invalid expression
error: nothing to repeat
======================================================================
ERROR: Check that %run doesn't damage __builtins__
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 123, in test_builtins_id
self.run_tmpfile()
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 116, in run_tmpfile
_ip.magic('run %s' % self.fname)
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
======================================================================
ERROR: Check that the type of __builtins__ doesn't change with %run.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 135, in test_builtins_type
self.run_tmpfile()
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 116, in run_tmpfile
_ip.magic('run %s' % self.fname)
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
======================================================================
ERROR: Test that prompts correctly generate after %run
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 140, in test_prompts
self.run_tmpfile()
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 116, in run_tmpfile
_ip.magic('run %s' % self.fname)
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
======================================================================
ERROR: Test that simple class definitions work.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 153, in test_simpledef
_ip.magic('run %s' % self.fname)
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
======================================================================
FAIL: IPython.core.tests.test_completer.test_file_completions
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_completer.py", line 152, in test_file_completions
nt.assert_equal(c, names)
AssertionError: [] != ['c:\\users\\jstenar\\appdata\\local\\temp\\tmpza69cd\\foo1', 'c:\\users\\jstenar\\appdata\\local\
\temp\\tmpza69cd\\foo2']
>> raise self.failureException, \
(None or '%r != %r' % ([], ['c:\\users\\jstenar\\appdata\\local\\temp\\tmpza69cd\\foo1', 'c:\\users\\jstenar\\
appdata\\local\\temp\\tmpza69cd\\foo2']))
======================================================================
FAIL: Doctest: IPython.core.tests.test_iplib.doctest_tb_context
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_iplib.doctest_tb_context
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 82, in doctest_tb_context
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 87, in IPython.core.tests.test_iplib.doc
test_tb_context
Failed example:
get_ipython().magic(u"run simpleerr.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_context[1]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x040F7F08>.getvalue()))
======================================================================
FAIL: Doctest: IPython.core.tests.test_iplib.doctest_tb_plain
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_iplib.doctest_tb_plain
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 65, in doctest_tb_plain
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 70, in IPython.core.tests.test_iplib.doc
test_tb_plain
Failed example:
get_ipython().magic(u"run simpleerr.py")
Expected:
Traceback (most recent call last):
...line 32, in <module>
bar(mode)
...line 16, in bar
div0()
...line 8, in div0
x/y
ZeroDivisionError: integer division or modulo by zero
Got:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_plain[1]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x041478A0>.getvalue()))
======================================================================
FAIL: Doctest: IPython.core.tests.test_iplib.doctest_tb_sysexit
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_iplib.doctest_tb_sysexit
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 151, in doctest_tb_sysexit
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 156, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"run simpleerr.py exit")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_sysexit[1]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py exit")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 160, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"run simpleerr.py exit 2")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_sysexit[2]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py exit 2")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 164, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"tb ")
Expected:
Traceback (most recent call last):
File ... in <module>
bar(mode)
File ... line 22, in bar
sysexit(stat, mode)
File ... line 11, in sysexit
raise SystemExit(stat, 'Mode = %s' % mode)
SystemExit: (2, u'Mode = exit')
Got:
Traceback (most recent call last):
File "<doctest IPython.core.tests.test_iplib.doctest_tb_sysexit[2]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py exit 2")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
<BLANKLINE>
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 177, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"tb ")
Expected:
---------------------------------------------------------------------------
SystemExit Traceback (most recent call last)
<BLANKLINE>
...<module>()
30 mode = 'div'
31
---> 32 bar(mode)
<BLANKLINE>
...bar(mode)
20 except:
21 stat = 1
---> 22 sysexit(stat, mode)
23 else:
24 raise ValueError('Unknown mode')
<BLANKLINE>
...sysexit(stat, mode)
9
10 def sysexit(stat, mode):
---> 11 raise SystemExit(stat, 'Mode = %s' % mode)
12
13 def bar(mode):
<BLANKLINE>
SystemExit: (2, u'Mode = exit')
Got:
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
c:\python\external\ipython-master\IPython\core\tests\test_iplib.pyc in <module>()
----> 1 get_ipython().magic(u"run simpleerr.py exit 2")
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in magic(self, arg_s)
1775 self._magic_locals = sys._getframe(1).f_locals
1776 with self.builtin_trap:
-> 1777 result = fn(magic_args)
1778 # Ensure we're not keeping object references around:
1779 self._magic_locals = {}
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\magic.pyc in magic_run(self, parameter_s, runner, file_finder)
1614 try:
1615 stats = None
-> 1616 with self.readline_no_record:
1617 if opts.has_key('p'):
1618 stats = self.magic_prun('',0,opts,arg_lst,prog_ns)
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in __enter__(self)
146 if self._nested_level == 0:
147 self.orig_length = self.current_length()
--> 148 self.readline_tail = self.get_readline_tail()
149 self._nested_level += 1
150
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in get_readline_tail(self, n)
173 start = max(end-n, 1)
174 ghi = self.shell.readline.get_history_item
--> 175 return [ghi(x) for x in range(start, end)]
176
177
<BLANKLINE>
c:\python\external\pyreadline-trunk\pyreadline\rlmain.pyc in get_history_item(self, index)
151 def get_history_item(self, index):
152 u'''Return the current contents of history item at index.'''
--> 153 return self.mode._history.get_history_item(index)
154
155 def clear_history(self):
<BLANKLINE>
c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.pyc in get_history_item(self, index)
51 def get_history_item(self, index):
52 u'''Return the current contents of history item at index.'''
---> 53 item = self.history[index]
54 log(u"get_history_item: index:%d item:%r"%(index, item))
55 return item.get_line_text()
<BLANKLINE>
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 205, in IPython.core.tests.test_iplib.do
ctest_tb_sysexit
Failed example:
get_ipython().magic(u"tb ")
Expected:
---------------------------------------------------------------------------
SystemExit Traceback (most recent call last)
<BLANKLINE>
... in <module>()
30 mode = 'div'
31
---> 32 bar(mode)
global bar = <function bar at ...>
global mode = u'exit'
<BLANKLINE>
... in bar(mode=u'exit')
20 except:
21 stat = 1
---> 22 sysexit(stat, mode)
global sysexit = <function sysexit at ...>
stat = 2
mode = u'exit'
23 else:
24 raise ValueError('Unknown mode')
<BLANKLINE>
... in sysexit(stat=2, mode=u'exit')
9
10 def sysexit(stat, mode):
---> 11 raise SystemExit(stat, 'Mode = %s' % mode)
global SystemExit = undefined
stat = 2
mode = u'exit'
12
13 def bar(mode):
<BLANKLINE>
SystemExit: (2, u'Mode = exit')
Got:
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
c:\python\external\ipython-master\IPython\core\tests\test_iplib.pyc in <module>()
----> 1 get_ipython().magic(u"run simpleerr.py exit 2")
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in magic(self=<IPython.frontend.terminal.interac
tiveshell.TerminalInteractiveShell object>, arg_s=u'run simpleerr.py exit 2')
1775 self._magic_locals = sys._getframe(1).f_locals
1776 with self.builtin_trap:
-> 1777 result = fn(magic_args)
1778 # Ensure we're not keeping object references around:
1779 self._magic_locals = {}
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\magic.pyc in magic_run(self=<IPython.frontend.terminal.interactiveshe
ll.TerminalInteractiveShell object>, parameter_s=u'simpleerr.py exit 2', runner=None, file_finder=<function get_py_filen
ame>)
1614 try:
1615 stats = None
-> 1616 with self.readline_no_record:
global In = undefined
global pwd = undefined
1617 if opts.has_key('p'):
1618 stats = self.magic_prun('',0,opts,arg_lst,prog_ns)
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in __enter__(self=<IPython.core.interactiveshell
.ReadlineNoRecord object>)
146 if self._nested_level == 0:
147 self.orig_length = self.current_length()
--> 148 self.readline_tail = self.get_readline_tail()
global behavior = undefined
global to = undefined
global call = undefined
global at = undefined
global runtime = undefined
global your = undefined
global own = undefined
global routines.Ns = undefined
149 self._nested_level += 1
150
<BLANKLINE>
c:\python\external\ipython-master\IPython\core\interactiveshell.pyc in get_readline_tail(self=<IPython.core.interact
iveshell.ReadlineNoRecord object>, n=10)
173 start = max(end-n, 1)
174 ghi = self.shell.readline.get_history_item
--> 175 return [ghi(x) for x in range(start, end)]
global must = undefined
global therefore = undefined
global make = undefined
global a = undefined
global copy = undefined
global of = undefined
global the = undefined
global given = undefined
global namespace = undefined
global to = undefined
global allow = undefined
176
177
<BLANKLINE>
c:\python\external\pyreadline-trunk\pyreadline\rlmain.pyc in get_history_item(self=<pyreadline.rlmain.Readline objec
t>, index=87)
151 def get_history_item(self, index):
152 u'''Return the current contents of history item at index.'''
--> 153 return self.mode._history.get_history_item(index)
global i = undefined
154
155 def clear_history(self):
<BLANKLINE>
c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.pyc in get_history_item(self=<pyreadline.lineedito
r.history.LineHistory object>, index=87)
51 def get_history_item(self, index):
52 u'''Return the current contents of history item at index.'''
---> 53 item = self.history[index]
54 log(u"get_history_item: index:%d item:%r"%(index, item))
55 return item.get_line_text()
<BLANKLINE>
IndexError: list index out of range
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x0415D3F0>.getvalue()))
======================================================================
FAIL: Doctest: IPython.core.tests.test_iplib.doctest_tb_verbose
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_iplib.doctest_tb_verbose
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 114, in doctest_tb_verbose
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_iplib.py", line 119, in IPython.core.tests.test_iplib.do
ctest_tb_verbose
Failed example:
get_ipython().magic(u"run simpleerr.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_iplib.doctest_tb_verbose[1]>", line 1, in <module>
get_ipython().magic(u"run simpleerr.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x0415D7B0>.getvalue()))
======================================================================
FAIL: Test various directory handling operations.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\core\tests\test_magic.py", line 310, in test_dirops
nt.assert_equal(curpath(), ipdir)
AssertionError: u'/users/jstenar/appdata/local/temp' != u'C:\\Users\\jstenar\\.ipython'
>> raise self.failureException, \
(None or '%r != %r' % (u'/users/jstenar/appdata/local/temp', u'C:\\Users\\jstenar\\.ipython'))
-------------------- >> begin captured stdout << ---------------------
[Error 123] Felaktig syntax f÷r filnamn, katalognamn eller volymetikett: u'"C:/Users/jstenar/.ipython"'
c:\users\jstenar\appdata\local\temp
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Doctest: IPython.core.tests.test_run.doctest_refbug
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_run.doctest_refbug
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 28, in doctest_refbug
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 35, in IPython.core.tests.test_run.doctest
_refbug
Failed example:
get_ipython().magic(u"run refbug")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_refbug[1]>", line 1, in <module>
get_ipython().magic(u"run refbug")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 37, in IPython.core.tests.test_run.doctest
_refbug
Failed example:
call_f()
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_refbug[2]>", line 1, in <module>
call_f()
NameError: name 'call_f' is not defined
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 40, in IPython.core.tests.test_run.doctest
_refbug
Failed example:
get_ipython().magic(u"run refbug")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_refbug[3]>", line 1, in <module>
get_ipython().magic(u"run refbug")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 42, in IPython.core.tests.test_run.doctest
_refbug
Failed example:
call_f()
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_refbug[4]>", line 1, in <module>
call_f()
NameError: name 'call_f' is not defined
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x041711E8>.getvalue()))
======================================================================
FAIL: Doctest: IPython.core.tests.test_run.doctest_run_builtins
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.core.tests.test_run.doctest_run_builtins
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 48, in doctest_run_builtins
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\core\tests\test_run.py", line 65, in IPython.core.tests.test_run.doctest
_run_builtins
Failed example:
get_ipython().magic(u"run $fname")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.core.tests.test_run.doctest_run_builtins[7]>", line 1, in <module>
get_ipython().magic(u"run $fname")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x04171300>.getvalue()))
----------------------------------------------------------------------
Ran 333 tests in 0.384s
FAILED (KNOWNFAIL=2, SKIP=2, errors=5, failures=8)
**********************************************************************
IPython test group: IPython.extensions
..
----------------------------------------------------------------------
Ran 2 tests in 0.001s
OK
**********************************************************************
IPython test group: IPython.frontend
E.......E.
======================================================================
ERROR: Failure: ImportError (IPython.zmq requires pyzmq >= 2.0.10-1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "c:\python26\lib\site-packages\nose\importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "c:\python26\lib\site-packages\nose\importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "c:\python\external\ipython-master\IPython\frontend\qt\console\ipythonqt.py", line 18, in <module>
from IPython.frontend.qt.kernelmanager import QtKernelManager
File "c:\python\external\ipython-master\IPython\frontend\qt\kernelmanager.py", line 9, in <module>
from IPython.zmq.kernelmanager import KernelManager, SubSocketChannel, \
File "c:\python\external\ipython-master\IPython\zmq\__init__.py", line 17, in <module>
raise ImportError("IPython.zmq requires pyzmq >= %s"%minimum_pyzmq_version)
ImportError: IPython.zmq requires pyzmq >= 2.0.10-1
======================================================================
ERROR: Failure: ImportError (IPython.zmq requires pyzmq >= 2.0.10-1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "c:\python26\lib\site-packages\nose\importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "c:\python26\lib\site-packages\nose\importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "c:\python\external\ipython-master\IPython\frontend\qt\kernelmanager.py", line 9, in <module>
from IPython.zmq.kernelmanager import KernelManager, SubSocketChannel, \
File "c:\python\external\ipython-master\IPython\zmq\__init__.py", line 17, in <module>
raise ImportError("IPython.zmq requires pyzmq >= %s"%minimum_pyzmq_version)
ImportError: IPython.zmq requires pyzmq >= 2.0.10-1
----------------------------------------------------------------------
Ran 10 tests in 0.027s
FAILED (errors=2)
**********************************************************************
IPython test group: IPython.lib
....E..
======================================================================
ERROR: Failure: ImportError (No module named pexpect)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "c:\python26\lib\site-packages\nose\importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "c:\python26\lib\site-packages\nose\importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "c:\python\external\ipython-master\IPython\lib\tests\test_irunner.py", line 15, in <module>
from IPython.lib import irunner
File "c:\python\external\ipython-master\IPython\lib\irunner.py", line 39, in <module>
import pexpect
ImportError: No module named pexpect
----------------------------------------------------------------------
Ran 8 tests in 0.075s
FAILED (errors=1)
**********************************************************************
IPython test group: IPython.scripts
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
**********************************************************************
IPython test group: IPython.testing
............FFF......S...S.....................S.
======================================================================
FAIL: Doctest: IPython.testing.plugin.test_refs.doctest_refs
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.testing.plugin.test_refs.doctest_refs
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 43, in doctest_refs
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 46, in IPython.testing.plugin.test_re
fs.doctest_refs
Failed example:
get_ipython().magic(u"run show_refs.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.testing.plugin.test_refs.doctest_refs[0]>", line 1, in <module>
get_ipython().magic(u"run show_refs.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x0365B738>.getvalue()))
======================================================================
FAIL: Doctest: IPython.testing.plugin.test_refs.doctest_run
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.testing.plugin.test_refs.doctest_run
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 17, in doctest_run
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 20, in IPython.testing.plugin.test_re
fs.doctest_run
Failed example:
get_ipython().magic(u"run simplevars.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.testing.plugin.test_refs.doctest_run[0]>", line 1, in <module>
get_ipython().magic(u"run simplevars.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x03CD29B8>.getvalue()))
======================================================================
FAIL: Doctest: IPython.testing.plugin.test_refs.doctest_runvars
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python\external\ipython-master\IPython\testing\plugin\ipdoctest.py", line 265, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for IPython.testing.plugin.test_refs.doctest_runvars
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 24, in doctest_runvars
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 27, in IPython.testing.plugin.test_re
fs.doctest_runvars
Failed example:
get_ipython().magic(u"run simplevars.py")
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.testing.plugin.test_refs.doctest_runvars[0]>", line 1, in <module>
get_ipython().magic(u"run simplevars.py")
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 1777, in magic
result = fn(magic_args)
File "c:\python\external\ipython-master\IPython\core\magic.py", line 1616, in magic_run
with self.readline_no_record:
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 148, in __enter__
self.readline_tail = self.get_readline_tail()
File "c:\python\external\ipython-master\IPython\core\interactiveshell.py", line 175, in get_readline_tail
return [ghi(x) for x in range(start, end)]
File "c:\python\external\pyreadline-trunk\pyreadline\rlmain.py", line 153, in get_history_item
return self.mode._history.get_history_item(index)
File "c:\python\external\pyreadline-trunk\pyreadline\lineeditor\history.py", line 53, in get_history_item
item = self.history[index]
IndexError: list index out of range
----------------------------------------------------------------------
File "c:\python\external\ipython-master\IPython\testing\plugin\test_refs.py", line 30, in IPython.testing.plugin.test_re
fs.doctest_runvars
Failed example:
x
Exception raised:
Traceback (most recent call last):
File "c:\python26\lib\doctest.py", line 1253, in __run
compileflags, 1) in test.globs
File "<doctest IPython.testing.plugin.test_refs.doctest_runvars[1]>", line 1, in <module>
x
NameError: name 'x' is not defined
>> raise self.failureException(self.format_failure(<StringIO.StringIO instance at 0x03CD2E90>.getvalue()))
----------------------------------------------------------------------
Ran 53 tests in 0.046s
FAILED (SKIP=3, failures=3)
**********************************************************************
IPython test group: IPython.utils
................................................SF................S...S.................................................
........................
======================================================================
FAIL: Testcase $HOME is not set, os=='posix'.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 187, in runTest
self.test(*self.arg)
File "c:\python\external\ipython-master\IPython\utils\tests\test_path.py", line 152, in test_get_home_dir_4
nt.assert_raises(path.HomeDirError, path.get_home_dir)
AssertionError: HomeDirError not raised
if hasattr(excClass,'__name__'): 'HomeDirError' = excClass.'unittest'
else: 'HomeDirError' = str(excClass)
>> raise self.failureException, "%s not raised" % 'HomeDirError'
----------------------------------------------------------------------
Ran 145 tests in 0.282s
FAILED (SKIP=3, failures=1)
**********************************************************************
Test suite completed for system with the following information:
{'commit_hash': '271141b',
'commit_source': 'repository',
'ipython_path': 'c:\\python\\external\\ipython-master\\IPython',
'ipython_version': '0.11.dev',
'os_name': 'nt',
'platform': 'Windows-7-6.1.7601-SP1',
'sys_executable': 'c:\\python26\\python.exe',
'sys_platform': 'win32',
'sys_version': '2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]'}
Tools and libraries available at test time:
matplotlib
Tools and libraries NOT available at test time:
curses pexpect pymongo wx wx.aui zmq
Ran 8 test groups in 4.934s
Status:
ERROR - 5 out of 8 test groups failed.
----------------------------------------
Runner failed: IPython.core
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.core
----------------------------------------
Runner failed: IPython.frontend
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.frontend
----------------------------------------
Runner failed: IPython.lib
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.lib
----------------------------------------
Runner failed: IPython.testing
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.testing
----------------------------------------
Runner failed: IPython.utils
You may wish to rerun this one individually, with:
c:\python26\python.exe -u c:\python\external\ipython-master\IPython\testing\iptest.py IPython.utils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.