diff options
author | Christian Clauss <cclauss@me.com> | 2020-11-16 11:26:04 +0100 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-11-17 01:23:28 +0100 |
commit | fdec6497d1f1046d9ed3ecc02d26e56dd1d39638 (patch) | |
tree | 012caa6e998434e4cb81849659fdca9c05f23d37 | |
parent | f087b1b3b0188cb6081d5857705e13fe27aa0a7d (diff) | |
download | cherrypy-git-fdec6497d1f1046d9ed3ecc02d26e56dd1d39638.tar.gz |
Mark test_2_KeyboardInterrupt as xfailing
-rw-r--r-- | cherrypy/test/test_states.py | 1 |
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 |