Skip to content

Commit 103f427

Browse files
committed
Skip test_from_modexport_empty_slots on GIL-ful builds
1 parent b18c679 commit 103f427

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_import/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3521,6 +3521,7 @@ class Sub(tp):
35213521
pass
35223522
self.assertEqual(_testcapi.pytype_getmodulebytoken(Sub, token), module)
35233523

3524+
@requires_gil_enabled("empty slots re-enable GIL")
35243525
def test_from_modexport_empty_slots(self):
35253526
# Module to test that:
35263527
# - no slots are mandatory for PyModExport

0 commit comments

Comments
 (0)