mirror of https://github.com/python/cpython
Don't attempt to run the _opcode test if it wasn't built.
This commit is contained in:
parent
d27b455bbc
commit
c8635b4192
|
@ -1,8 +1,9 @@
|
|||
import dis
|
||||
import _opcode
|
||||
from test.support import run_unittest
|
||||
from test.support import run_unittest, import_module
|
||||
import unittest
|
||||
|
||||
_opcode = import_module("_opcode")
|
||||
|
||||
class OpcodeTests(unittest.TestCase):
|
||||
|
||||
def test_stack_effect(self):
|
||||
|
|
Loading…
Reference in New Issue