[IPython-dev] iptest on 0.11.alpha1.git

Gökhan Sever gokhansever@gmail....
Fri Aug 27 11:41:17 CDT 2010


A simple question before showing the test suite results:

What is git equivalent of svn revision number? Is it the commit id @
http://github.com/ipython/ipython


**********************************************************************
Test suite completed for system with the following information:
IPython version: 0.11.alpha1.git
BZR revision   : 0
Platform info  : os.name -> posix, sys.platform -> linux2
               :
Linux-2.6.33.6-147.2.4.fc13.i686-i686-with-fedora-13-Goddard
Python info    : 2.6.4 (r264:75706, Jun  4 2010, 18:20:16)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)]

Tools and libraries available at test time:
   curses foolscap gobject gtk pexpect twisted wx wx.aui zope.interface

Ran 9 test groups in 93.470s

Status:
ERROR - 1 out of 9 test groups failed.
----------------------------------------
Runner failed: IPython.core
You may wish to rerun this one individually, with:
/usr/bin/python
/home/g/Desktop/python-repo/ipython/IPython/testing/iptest.py IPython.core



[g@a testing]$ python iptest.py IPython.core
>f2("a b c")
>f1("a", "b", "c")
>f1(1,2,3)
>f2(4)
..............................Out[83]: 'get_ipython().system("true ")\n'
Out[85]: 'get_ipython().system("d:/cygwin/top ")\n'
Out[86]: 'no change'
Out[87]: '"no change"\n'
Out[89]: 'get_ipython().system("true")\n'
Out[90]: ['']
Out[91]: 'get_ipython().magic("sx  true")\n'
Out[92]: ['']
Out[93]: 'get_ipython().magic("sx true")\n'
Out[95]: 'get_ipython().magic("lsmagic ")\n'
Out[97]: 'get_ipython().magic("lsmagic ")\n'
Out[99]: 'get_ipython().system(" true")\n'
Out[101]: 'x=1 # what?\n'
Out[103]: 'if 1:\n    !true\n'
Out[105]: 'if 1:\n    lsmagic\n'
Out[107]: 'if 1:\n    an_alias\n'
Out[109]: 'if 1:\n    get_ipython().system("true")\n'
Out[111]: 'if 2:\n    get_ipython().magic("lsmagic ")\n'
Out[113]: 'if 1:\n    get_ipython().system("true ")\n'
Out[114]: ['']
Out[115]: 'if 1:\n    get_ipython().magic("sx true")\n'
Out[117]: 'if 1:\n    /fun 1 2\n'
Out[119]: 'if 1:\n    ;fun 1 2\n'
Out[121]: 'if 1:\n    ,fun 1 2\n'
Out[123]: 'if 1:\n    ?fun 1 2\n'
Out[125]: 'len "abc"\n'
>autocallable()
Out[126]: 'called'
Out[127]: 'autocallable()\n'
>list("1", "2", "3")
Out[129]: 'list("1", "2", "3")\n'
>list("1 2 3")
Out[130]: ['1', ' ', '2', ' ', '3']
Out[131]: 'list("1 2 3")\n'
>len(range(1,4))
Out[132]: 3
Out[133]: 'len(range(1,4))\n'
>list("1", "2", "3")
Out[135]: 'list("1", "2", "3")\n'
>list("1 2 3")
Out[136]: ['1', ' ', '2', ' ', '3']
Out[137]: 'list("1 2 3")\n'
>len(range(1,4))
Out[138]: 3
Out[139]: 'len(range(1,4))\n'
>len("abc")
Out[140]: 3
Out[141]: 'len("abc")\n'
>len("abc");
Out[143]: 'len("abc");\n'
>len([1,2])
Out[144]: 2
Out[145]: 'len([1,2])\n'
Out[146]: True
Out[147]: 'call_idx [1]\n'
>call_idx(1)
Out[148]: True
Out[149]: 'call_idx(1)\n'
Out[150]: <built-in function len>
Out[151]: 'len \n'
>list("1", "2", "3")
Out[153]: 'list("1", "2", "3")\n'
>list("1 2 3")
Out[154]: ['1', ' ', '2', ' ', '3']
Out[155]: 'list("1 2 3")\n'
>len(range(1,4))
Out[156]: 3
Out[157]: 'len(range(1,4))\n'
>len("abc")
Out[158]: 3
Out[159]: 'len("abc")\n'
>len("abc");
Out[161]: 'len("abc");\n'
>len([1,2])
Out[162]: 2
Out[163]: 'len([1,2])\n'
Out[164]: True
Out[165]: 'call_idx [1]\n'
>call_idx(1)
Out[166]: True
Out[167]: 'call_idx(1)\n'
>len()
Out[169]: 'len()\n'
.......................................................................................................................S.......#
    print "bar"
#
....>f(1)
...................................................................................F.F..
======================================================================
FAIL: Test that object's __del__ methods are called on exit.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/home/g/Desktop/python-repo/ipython/IPython/testing/decorators.py",
line 225, in skipper_func
    return f(*args, **kwargs)
  File "/home/g/Desktop/python-repo/ipython/IPython/core/tests/test_run.py",
line 155, in test_obj_del
    tt.ipexec_validate(self.fname, 'object A deleted')
  File "/home/g/Desktop/python-repo/ipython/IPython/testing/tools.py", line
252, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '\x1b[?1034hobject A deleted' != 'object A deleted'
>>  raise self.failureException, \
          (None or '%r != %r' % ('\x1b[?1034hobject A deleted', 'object A
deleted'))


======================================================================
FAIL: IPython.core.tests.test_run.TestMagicRunSimple.test_tclass
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/home/g/Desktop/python-repo/ipython/IPython/testing/decorators.py",
line 225, in skipper_func
    return f(*args, **kwargs)
  File "/home/g/Desktop/python-repo/ipython/IPython/core/tests/test_run.py",
line 169, in test_tclass
    tt.ipexec_validate(self.fname, out)
  File "/home/g/Desktop/python-repo/ipython/IPython/testing/tools.py", line
252, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: "\x1b[?1034hARGV 1-: ['C-first']\nARGV 1-:
['C-second']\ntclass.py: deleting object: C-first" != "ARGV 1-:
['C-first']\nARGV 1-: ['C-second']\ntclass.py: deleting object: C-first"
>>  raise self.failureException, \
          (None or '%r != %r' % ("\x1b[?1034hARGV 1-: ['C-first']\nARGV 1-:
['C-second']\ntclass.py: deleting object: C-first", "ARGV 1-:
['C-first']\nARGV 1-: ['C-second']\ntclass.py: deleting object: C-first"))


----------------------------------------------------------------------
Ran 254 tests in 3.268s

FAILED (SKIP=1, failures=2)



-- 
Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20100827/c6ec5a7d/attachment-0001.html 


More information about the IPython-dev mailing list