aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/enum_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/enum_test.py')
-rw-r--r--sources/pyside6/tests/pysidetest/enum_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/pysidetest/enum_test.py b/sources/pyside6/tests/pysidetest/enum_test.py
index 158faf37c..0036eb764 100644
--- a/sources/pyside6/tests/pysidetest/enum_test.py
+++ b/sources/pyside6/tests/pysidetest/enum_test.py
@@ -68,6 +68,8 @@ class InvestigateOpcodesTest(unittest.TestCase):
res.append((ops[idx - 1][0], ops[idx][1] - ops[idx - 1][1]))
return sorted(res, key=lambda x: (x[1], x[0]))
+ _sin = sys.implementation.name
+ @unittest.skipIf(hasattr(sys.flags, "nogil"), f"{_sin} has different opcodes")
def testByteCode(self):
# opname, opcode, arg
result_1 = [('LOAD_GLOBAL', 116, 0),