@@ -1420,14 +1420,18 @@ def test_configured_settings(self):
1420
1420
1421
1421
# expected to work
1422
1422
for config , expected in {
1423
- (True , True , True , True , True , True , True ): ALL_FLAGS ,
1424
- (True , False , False , False , False , False , False ): OBMALLOC ,
1423
+ (True , True , True , True , True , True , True ):
1424
+ (ALL_FLAGS , True ),
1425
+ (True , False , False , False , False , False , False ):
1426
+ (OBMALLOC , False ),
1425
1427
(False , False , False , True , False , True , False ):
1426
- THREADS | EXTENSIONS ,
1428
+ ( THREADS | EXTENSIONS , False ) ,
1427
1429
}.items ():
1428
1430
kwargs = dict (zip (kwlist , config ))
1431
+ exp_flags , exp_gil = expected
1429
1432
expected = {
1430
- 'feature_flags' : expected ,
1433
+ 'feature_flags' : exp_flags ,
1434
+ 'own_gil' : exp_gil ,
1431
1435
}
1432
1436
with self .subTest (config ):
1433
1437
r , w = os .pipe ()
@@ -1494,6 +1498,7 @@ def check(enabled, override):
1494
1498
flags = BASE_FLAGS | EXTENSIONS if enabled else BASE_FLAGS
1495
1499
settings = {
1496
1500
'feature_flags' : flags ,
1501
+ 'own_gil' : False ,
1497
1502
}
1498
1503
1499
1504
expected = {
0 commit comments