@@ -339,6 +339,7 @@ def test_changing_member_fails(self):
339339 python_version >= (3 , 12 ),
340340 '__contains__ now returns True/False for all inputs' ,
341341 )
342+ @unittest .expectedFailure
342343 def test_contains_er (self ):
343344 MainEnum = self .MainEnum
344345 self .assertIn (MainEnum .third , MainEnum )
@@ -360,6 +361,7 @@ class OtherEnum(Enum):
360361 python_version < (3 , 12 ),
361362 '__contains__ works only with enum memmbers before 3.12' ,
362363 )
364+ @unittest .expectedFailure
363365 def test_contains_tf (self ):
364366 MainEnum = self .MainEnum
365367 self .assertIn (MainEnum .first , MainEnum )
@@ -2926,6 +2928,7 @@ def test_pickle(self):
29262928 python_version >= (3 , 12 ),
29272929 '__contains__ now returns True/False for all inputs' ,
29282930 )
2931+ @unittest .expectedFailure
29292932 def test_contains_er (self ):
29302933 Open = self .Open
29312934 Color = self .Color
@@ -2948,6 +2951,7 @@ def test_contains_er(self):
29482951 python_version < (3 , 12 ),
29492952 '__contains__ only works with enum memmbers before 3.12' ,
29502953 )
2954+ @unittest .expectedFailure
29512955 def test_contains_tf (self ):
29522956 Open = self .Open
29532957 Color = self .Color
@@ -3486,6 +3490,7 @@ def test_programatic_function_from_empty_tuple(self):
34863490 python_version >= (3 , 12 ),
34873491 '__contains__ now returns True/False for all inputs' ,
34883492 )
3493+ @unittest .expectedFailure
34893494 def test_contains_er (self ):
34903495 Open = self .Open
34913496 Color = self .Color
@@ -3510,6 +3515,7 @@ def test_contains_er(self):
35103515 python_version < (3 , 12 ),
35113516 '__contains__ only works with enum memmbers before 3.12' ,
35123517 )
3518+ @unittest .expectedFailure
35133519 def test_contains_tf (self ):
35143520 Open = self .Open
35153521 Color = self .Color
0 commit comments