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

Victor Stinner webhook-mailer at python.org
Tue Sep 5 20:10:11 EDT 2017


https://github.com/python/cpython/commit/9a3b3852afe61f9083d336c4394984d0e92799a3
commit: 9a3b3852afe61f9083d336c4394984d0e92799a3
branch: 3.6
author: Victor Stinner <victor.stinner at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-09-06T02:10:08+02:00
summary:

bpo-30442: Skips refcount test in test_xml_etree under coverage (#1767) (#3363)

(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 dbdad23a742..15af1fc5336 100644
--- a/Lib/test/test_xml_etree.py
+++ b/Lib/test/test_xml_etree.py
@@ -1523,6 +1523,7 @@ def test_bug_xmltoolkit62(self):
         self.assertEqual(t.find('.//paragraph').text,
             '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