8000 Fix test_optimizer.py · python/cpython@9311198 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9311198

Browse files
committed
Fix test_optimizer.py
1 parent edbaeef commit 9311198

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_optimizer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def func(x=0):
8080

8181
class TestOptimizerSymbols(unittest.TestCase):
8282

83+
@unittest.skipUnless(hasattr(_testinternalcapi, "uop_symbols_test"),
84+
"requires _testinternalcapi.uop_symbols_test")
8385
def test_optimizer_symbols(self):
8486
_testinternalcapi.uop_symbols_test()
8587

0 commit comments

Comments
 (0)
0