From c524a0da73a85ec4dd4ae6b1512c25854b19c8de Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Fri, 11 Dec 2020 22:11:18 +0100 Subject: [PATCH] Turn on ServerStateTests::test_2_KeyboardInterrupt Resolves #1873 --- cherrypy/test/test_states.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cherrypy/test/test_states.py b/cherrypy/test/test_states.py index 7dcad91ae..28dd65100 100644 --- a/cherrypy/test/test_states.py +++ b/cherrypy/test/test_states.py @@ -162,10 +162,6 @@ def test_1_Restart(self): self.assertEqual(db_connection.running, False) self.assertEqual(len(db_connection.threads), 0) - @pytest.mark.xfail( - raises=KeyboardInterrupt, reason='KeyboardInterrupt #1873', - run=False, - ) 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