Mark test as xfail on Python 3.7. Ref
@@ -222,6 +222,10 @@ class ServerStateTests(helper.CPWebCase):
self.assertEqual(db_connection.running, False)
self.assertEqual(len(db_connection.threads), 0)
+ @pytest.mark.xfail(
+ 'sys.version_info > (3, 7)',
+ reason="https://github.com/cherrypy/cherrypy/issues/1693",
+ )
def test_4_Autoreload(self):
# If test_3 has not been executed, the server won't be stopped,
# so we'll have to do it.
