Hello Folks - I am new to python and IPython. I just installed IPython and ran the test suite. I got an error in the SubProcessTestCase (please see below). Any insights on how I can debug this would be greatly appreciated.
C:\Python27\Scripts>iptest
IPython test group: IPython.config
.............................................Ran 45 tests in 0.047s
OK
IPython test group: IPython.core
.........................................K....................................................................................................................................................'python' is not recognized as an internal or external command,
operable program or batch file.
Ran 377 tests in 12.360s
OK (KNOWNFAIL=3, SKIP=4)
IPython test group: IPython.extensions
........Ran 8 tests in 6.390s
OK
IPython test group: IPython.frontend
...SSSSS..Ran 10 tests in 0.000s
OK (SKIP=5)
IPython test group: IPython.lib
..............................Ran 31 tests in 0.125s
OK
IPython test group: IPython.scripts
Ran 0 tests in 0.000s
OK
IPython test group: IPython.testing
.....................S...S........................S.Ran 56 tests in 0.031s
OK (SKIP=3)
IPython test group: IPython.utils
..................................................................................SS...FFSFF.SSSS......................................................................................................... FAIL: test_getoutput (IPython.utils.tests.test_process.SubProcessTestCase)Traceback (most recent call last):
File "C:\Python27\lib\site-packages\IPython\utils\tests\test_process.py", line 130, in test_getoutput
self.assertEquals(out, 'on stdout')
AssertionError: '' != 'on stdout'
"'' != 'on stdout'" = '%s != %s' % (safe_repr(''), safe_repr('on stdout'))
"'' != 'on stdout'" = self._formatMessage("'' != 'on stdout'", "'' != 'on stdout'")
FAIL: test_getoutput_quoted (IPython.utils.tests.test_process.SubProcessTestCase)raise self.failureException("'' != 'on stdout'")
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\IPython\utils\tests\test_process.py", line 118, in test_getoutput_quoted
self.assertEquals(out.strip(), '1')
AssertionError: "'python' is not recognized as an internal or external command,\r\noperable program or batch file." != '1'
'"'python' is not recognized as an internal or external command,\r\noperable program or batch file." != '1'' = '%s != %s' % (safe_repr("'python' is not recognized as an internal or external command,\r\noperable program or batch file."), safe_repr('1'))
'"'python' is not recognized as an internal or external command,\r\noperable program or batch file." != '1'' = self._formatMessage('"'python' is not recognized as an internal or external command,\r\noperable program or batch file." != '1'', '"'python' is not recognized as an internal or external command,\r\noperable program or batch file." != '1'')
FAIL: test_system (IPython.utils.tests.test_process.SubProcessTestCase)raise self.failureException('"'python' is not recognized as an internal or external command,\r\noperable program or batch file." != '1'')
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\IPython\utils\tests\test_process.py", line 106, in test_system
self.assertEquals(status, 0)
AssertionError: 1 != 0
'1 != 0' = '%s != %s' % (safe_repr(1), safe_repr(0))
'1 != 0' = self._formatMessage('1 != 0', '1 != 0')
FAIL: test_system_quotes (IPython.utils.tests.test_process.SubProcessTestCase)raise self.failureException('1 != 0')
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\IPython\utils\tests\test_process.py", line 110, in test_system_quotes
self.assertEquals(status, 0)
AssertionError: 1 != 0
'1 != 0' = '%s != %s' % (safe_repr(1), safe_repr(0))
'1 != 0' = self._formatMessage('1 != 0', '1 != 0')
raise self.failureException('1 != 0')
Ran 203 tests in 0.813s
FAILED (SKIP=7, failures=4)
IPython test group: IPython.nbformat
........................Ran 24 tests in 0.000s
OK
Test suite completed for system with the following information:
{'commit_hash': '9778f45',
'commit_source': 'installation',
'ipython_path': 'C:\Python27\lib\site-packages\IPython',
'ipython_version': '0.12.1',
'os_name': 'nt',
'platform': 'Windows-XP-5.1.2600-SP3',
'sys_executable': 'C:\Python27\python.exe',
'sys_platform': 'win32',
'sys_version': '2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]'}
Tools and libraries available at test time:
sqlite3
Tools and libraries NOT available at test time:
curses matplotlib pexpect pymongo qt tornado wx wx.aui zmq
Ran 9 test groups in 28.219s
Status:
ERROR - 1 out of 9 test groups failed.Runner failed: IPython.utils
You may wish to rerun this one individually, with:
C:\Python27\python.exe -u C:\Python27\lib\site-packages\IPython\testing\iptest.py IPython.utils
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4