summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2020-11-16 11:26:04 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2020-11-17 01:23:28 +0100
commitfdec6497d1f1046d9ed3ecc02d26e56dd1d39638 (patch)
tree012caa6e998434e4cb81849659fdca9c05f23d37
parentf087b1b3b0188cb6081d5857705e13fe27aa0a7d (diff)
downloadcherrypy-git-fdec6497d1f1046d9ed3ecc02d26e56dd1d39638.tar.gz
Mark test_2_KeyboardInterrupt as xfailing
-rw-r--r--cherrypy/test/test_states.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cherrypy/test/test_states.py b/cherrypy/test/test_states.py
index c0c61827..2179de33 100644
--- a/cherrypy/test/test_states.py
+++ b/cherrypy/test/test_states.py
@@ -161,6 +161,7 @@ class ServerStateTests(helper.CPWebCase):
self.assertEqual(db_connection.running, False)
self.assertEqual(len(db_connection.threads), 0)
+ @pytest.mark.xfail(reason='KeyboardInterrupt #1873', run=(os.name != 'nt'))
def test_2_KeyboardInterrupt(self):
# Raise a keyboard interrupt in the HTTP server's main thread.
# We must start the server in this, the main thread