A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1668/ below:

Test failure in IPython.zmq.tests.test_message_spec.test_complete "'pyout' != 'status'" · Issue #1668 · ipython/ipython · GitHub

I'm seeing the following test failure on both python2.7 and 3.2

This happens because my profile_default/ipython_config.py contains
c.InteractiveShellApp.exec_lines = ['%precision %e']
to set the print precision. Shouldn't the tests be independent of the default profile?
removing this line makes the test pass.

======================================================================
FAIL: test (IPython.zmq.tests.test_message_spec.test_complete)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/IPython/testing/_paramtestpy2.py", line 54, in run_parametric
    testgen.next()
  File "/usr/local/lib/python2.7/dist-packages/IPython/zmq/tests/test_message_spec.py", line 398, in test_complete
    msg_id, reply = execute(code="alpha = albert = 5")
  File "/usr/local/lib/python2.7/dist-packages/IPython/zmq/tests/test_message_spec.py", line 65, in execute
    list(validate_message(busy, 'status', msg_id))
  File "/usr/local/lib/python2.7/dist-packages/IPython/zmq/tests/test_message_spec.py", line 233, in validate_message
    yield nt.assert_equals(msg['msg_type'], msg_type)
AssertionError: 'pyout' != 'status'
    "'pyout' != 'status'" = '%s != %s' % (safe_repr('pyout'), safe_repr('status'))
    "'pyout' != 'status'" = self._formatMessage("'pyout' != 'status'", "'pyout' != 'status'")
>>  raise self.failureException("'pyout' != 'status'")

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