summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-02-02 19:06:11 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-02-02 19:06:11 (GMT)
commit3356a2e2f03f52c4e53b9a950143872338e72334 (patch)
tree2e44ba6f23206a5f1008353ca433f9b40b2048e1 /Lib/test/test_sys.py
parent5d44c08f1c18583d568283170454bab0c11f8257 (diff)
downloadcpython-3356a2e2f03f52c4e53b9a950143872338e72334.zip
cpython-3356a2e2f03f52c4e53b9a950143872338e72334.tar.gz
cpython-3356a2e2f03f52c4e53b9a950143872338e72334.tar.bz2
_clear_type_cache is cpython-only
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index f8a9e5e..f86c7c1 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -539,6 +539,7 @@ class SysModuleTest(unittest.TestCase):
test.support.get_attribute(sys, "getwindowsversion")
self.assert_raise_on_new_sys_type(sys.getwindowsversion())
+ @test.test_support.cpython_only
def test_clear_type_cache(self):
sys._clear_type_cache()