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