From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 13 Sep 2017 22:17:55 +0000 (-0700) Subject: [2.7] bpo-30442: Skips refcount test in test_xml_etree under coverage (GH-1767) ... X-Git-Tag: v2.7.15rc1~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=860839cc8e0a4a0890418f77c984955697f96828;p=python [2.7] bpo-30442: Skips refcount test in test_xml_etree under coverage (GH-1767) (#3549) (cherry picked from commit 1de4705d00168afa8c5b6741af02e21fc609af58) --- diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py index 60b26ead7a..55d7010123 100644 --- a/Lib/test/test_xml_etree.py +++ b/Lib/test/test_xml_etree.py @@ -1338,6 +1338,7 @@ class BugsTest(unittest.TestCase): self.assertEqual(t.find('.//paragraph').text, u'A new cultivar of Begonia plant named \u2018BCT9801BEG\u2019.') + @unittest.skipIf(sys.gettrace(), "Skips under coverage.") def test_bug_xmltoolkit63(self): # Check reference leak. def xmltoolkit63():