summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_optimizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_optimizer.py')
-rw-r--r--Lib/test/test_optimizer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_optimizer.py b/Lib/test/test_optimizer.py
index 899a450..fac4d1a 100644
--- a/Lib/test/test_optimizer.py
+++ b/Lib/test/test_optimizer.py
@@ -80,6 +80,8 @@ class TestRareEventCounters(unittest.TestCase):
class TestOptimizerSymbols(unittest.TestCase):
+ @unittest.skipUnless(hasattr(_testinternalcapi, "uop_symbols_test"),
+ "requires _testinternalcapi.uop_symbols_test")
def test_optimizer_symbols(self):
_testinternalcapi.uop_symbols_test()