Mark test_2_KeyboardInterrupt as xfailing
@@ -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
