[Python-checkins] cpython (2.7): _clear_type_cache is cpython-only

benjamin.peterson python-checkins at python.org
Mon Feb 2 20:06:38 CET 2015


https://hg.python.org/cpython/rev/83b75b016c77
changeset:   94466:83b75b016c77
branch:      2.7
parent:      94459:acc2c3479f2e
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon Feb 02 14:06:11 2015 -0500
summary:
  _clear_type_cache is cpython-only

files:
  Lib/test/test_sys.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -425,6 +425,7 @@
             self.assertEqual(type(getattr(sys.flags, attr)), int, attr)
         self.assertTrue(repr(sys.flags))
 
+    @test.test_support.cpython_only
     def test_clear_type_cache(self):
         sys._clear_type_cache()
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list