[Python-checkins] [2.7] bpo-30442: Skips refcount test in test_xml_etree under coverage (GH-1767) (#3549)

Victor Stinner webhook-mailer at python.org
Wed Sep 13 18:18:00 EDT 2017


https://github.com/python/cpython/commit/860839cc8e0a4a0890418f77c984955697f96828
commit: 860839cc8e0a4a0890418f77c984955697f96828
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Victor Stinner <victor.stinner at gmail.com>
date: 2017-09-13T15:17:55-07:00
summary:

[2.7] bpo-30442: Skips refcount test in test_xml_etree under coverage (GH-1767) (#3549)

(cherry picked from commit 1de4705d00168afa8c5b6741af02e21fc609af58)

files:
M Lib/test/test_xml_etree.py

diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py
index 60b26ead7a2..55d70101233 100644
--- a/Lib/test/test_xml_etree.py
+++ b/Lib/test/test_xml_etree.py
@@ -1338,6 +1338,7 @@ def test_bug_xmltoolkit62(self):
         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():



More information about the Python-checkins mailing list