Skip to content

Commit

Permalink
Merge pull request #6432 from ccordoba12/fix-pyzmq-17
Browse files Browse the repository at this point in the history
PR: Xfail test_auto_backend for certain versions of zmq and ipykernel
  • Loading branch information
ccordoba12 committed Feb 11, 2018
2 parents ac7a840 + 5a6bc08 commit 636b370
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spyder/plugins/tests/test_ipythonconsole.py
Expand Up @@ -13,11 +13,13 @@

import cloudpickle
from flaky import flaky
import ipykernel
from pygments.token import Name
import pytest
from qtpy import PYQT4, PYQT5, PYQT_VERSION
from qtpy.QtCore import Qt, QTimer
from qtpy.QtWidgets import QApplication
import zmq

from spyder.config.gui import get_color_scheme
from spyder.config.main import CONF
Expand All @@ -35,7 +37,6 @@
# Constants
#==============================================================================
SHELL_TIMEOUT = 20000
PYQT_WHEEL = PYQT_VERSION > '5.6'
TEMP_DIRECTORY = tempfile.gettempdir()
NON_ASCII_DIR = osp.join(TEMP_DIRECTORY, u'測試', u'اختبار')

Expand Down Expand Up @@ -112,6 +113,8 @@ def close_console():
@pytest.mark.auto_backend
@pytest.mark.skipif(os.name == 'nt' or PYQT4,
reason="It times out sometimes on Windows and it's not needed in PyQt4")
@pytest.mark.xfail(zmq.__version__ >= '17.0.0' and ipykernel.__version__ <= "4.8.1",
reason="A bug with pyzmq 17 and ipykernel 4.8.1")
def test_auto_backend(ipyconsole, qtbot):
"""Test that the automatic backend is working correctly."""
# Wait until the window is fully up
Expand Down

0 comments on commit 636b370

Please sign in to comment.