Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:backports
python-spyder-terminal
fix-test-terminal-closing.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-test-terminal-closing.patch of Package python-spyder-terminal
Index: spyder-terminal-1.2.2/spyder_terminal/server/tests/test_server.py =================================================================== --- spyder-terminal-1.2.2.orig/spyder_terminal/server/tests/test_server.py +++ spyder-terminal-1.2.2/spyder_terminal/server/tests/test_server.py @@ -15,6 +15,7 @@ import pytest from flaky import flaky from tornado import testing, websocket, gen from tornado.concurrent import Future +from tornado.websocket import WebSocketClosedError from spyder.utils.programs import find_program sys.path.append(osp.realpath(osp.dirname(__file__) + "/..")) @@ -132,6 +133,8 @@ class TerminalServerTests(testing.AsyncH sock.write_message(' This shall not work') except AttributeError: pass + except WebSocketClosedError: + pass yield self.close(sock) @flaky(max_runs=3)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor