]> granicus.if.org Git - python/commitdiff
Closes #22205: sys._debugmallocstats is a cpython specific feature, so
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 16 Aug 2014 12:11:01 +0000 (14:11 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 16 Aug 2014 12:11:01 +0000 (14:11 +0200)
test_debugmallocstats should be marked as such. Patch written by Martin
Matusiak.

Lib/test/test_sys.py

index a68ed08df724c498ccdabf319277e0f179aa5b27..93960cdc1703a7dfbf100c590aa97930cf7196b9 100644 (file)
@@ -657,6 +657,7 @@ class SysModuleTest(unittest.TestCase):
         self.assertEqual(sys.implementation.name,
                          sys.implementation.name.lower())
 
+    @test.support.cpython_only
     def test_debugmallocstats(self):
         # Test sys._debugmallocstats()
         from test.script_helper import assert_python_ok