diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-02-19 14:39:41 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-02-19 14:39:41 -0500 |
commit | 726c23b9a9c681e92f1d74f13f8c032dc55354a6 (patch) | |
tree | 555ace620a8044a2d59973a082f40dee8f3ab62b /cherrypy | |
parent | 816378ebbbcb775379293dd30c9da0bcef02e156 (diff) | |
download | cherrypy-git-726c23b9a9c681e92f1d74f13f8c032dc55354a6.tar.gz |
Constrain the xfail to the one environment where it's known to be failing.
Diffstat (limited to 'cherrypy')
-rw-r--r-- | cherrypy/test/test_states.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cherrypy/test/test_states.py b/cherrypy/test/test_states.py index a8ad94e4..606ca4f6 100644 --- a/cherrypy/test/test_states.py +++ b/cherrypy/test/test_states.py @@ -223,7 +223,9 @@ class ServerStateTests(helper.CPWebCase): self.assertEqual(len(db_connection.threads), 0) @pytest.mark.xfail( - 'sys.version_info > (3, 7)', + 'sys.platform == "Darwin" ' + 'and sys.version_info > (3, 7) ' + 'and os.environ["TRAVIS"]', reason='https://github.com/cherrypy/cherrypy/issues/1693', ) def test_4_Autoreload(self): |