[Ipython-tickets] [IPython] #215: IPython tests are broken

IPython ipython-tickets@scipy....
Fri Feb 1 06:55:06 CST 2008


#215: IPython tests are broken
---------------------+------------------------------------------------------
 Reporter:  stefanv  |       Owner:  fperez
     Type:  defect   |      Status:  new   
 Priority:  normal   |   Milestone:  0.9.0 
Component:  ipython  |     Version:        
 Severity:  normal   |    Keywords:        
---------------------+------------------------------------------------------
 {{{
 $ ipython runtests.py

 /home/stefan/lib/python2.5/site-packages/IPython/iplib.pyc in
 handle_normal(self, line_info)
    2281             line = ''
    2282
 -> 2283         self.log(line,line,continue_prompt)
    2284         return line
    2285

 AttributeError: 'InteractiveShell' object has no attribute 'log'
 WARNING: Failure executing file: <runtests.py>
 }}}

 {{{
 In [1]: run runtests.py

 [...]

 ------> f2("a b c")
 Out[0]: 'a b ca b c'

 <IPython freezes>
 }}}

 {{{
 $ ipython test_completer.py

 ---> 37 assert 'pprint' in l
 AssertionError:
 WARNING: Failure executing file: <test_completer.py>

 }}}

 {{{
 $ ipython test_handlers.py

 51 tests run, 3 failures
 Expected ' ! true' to become ' ! true', found ' _ip.system(" true")'
 Expected ' !true' to become ' !true', found ' _ip.system("true")'
 Expected 'if 1:\n    %lsmagic' to become 'if 1:\n    %lsmagic', found 'if
 1:\n    _ip.magic("%lsmagic ")'
 }}}

 {{{
 $ ipython test_shouldfail.ipy

 NameError: name 'os' is not defined
 }}}

-- 
Ticket URL: <http://ipython.scipy.org/ipython/ipython/ticket/215>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list