@@ -630,6 +630,8 @@ def test_finally_in_loop(self):
630
630
631
631
632
632
def test_break_through_finally (self ):
633
+ if env .PYBEHAVIOR .bug39114 :
634
+ self .xfail ("https://bugs.python.org/issue39114" )
633
635
if env .PYBEHAVIOR .finally_jumps_back :
634
636
arcz = ".1 12 23 34 3D 45 56 67 68 7A 7D 8A A3 A7 BC CD D."
635
637
else :
@@ -654,6 +656,8 @@ def test_break_through_finally(self):
654
656
)
655
657
656
658
def test_continue_through_finally (self ):
659
+ if env .PYBEHAVIOR .bug39114 :
660
+ self .xfail ("https://bugs.python.org/issue39114" )
657
661
if env .PYBEHAVIOR .finally_jumps_back :
658
662
arcz = ".1 12 23 34 3D 45 56 67 68 73 7A 8A A3 A7 BC CD D."
659
663
else :
@@ -691,6 +695,8 @@ def test_finally_in_loop_bug_92(self):
691
695
)
692
696
693
697
def test_bug_212 (self ):
698
+ if env .PYBEHAVIOR .bug39114 :
699
+ self .xfail ("https://bugs.python.org/issue39114" )
694
700
# "except Exception as e" is crucial here.
695
701
# Bug 212 said that the "if exc" line was incorrectly marked as only
696
702
# partially covered.
@@ -813,6 +819,8 @@ def test_multiple_except_clauses(self):
813
819
)
814
820
815
821
def test_return_finally (self ):
822
+ if env .PYBEHAVIOR .bug39114 :
823
+ self .xfail ("https://bugs.python.org/issue39114" )
816
824
if env .PYBEHAVIOR .finally_jumps_back :
817
825
arcz = ".1 12 29 9A AB BC C-1 -23 34 45 5-2 57 75 38 8-2"
818
826
else :
@@ -835,6 +843,8 @@ def check_token(data):
835
843
)
836
844
837
845
def test_except_jump_finally (self ):
846
+ if env .PYBEHAVIOR .bug39114 :
847
+ self .xfail ("https://bugs.python.org/issue39114" )
838
848
if env .PYBEHAVIOR .finally_jumps_back :
839
849
arcz = (
840
850
".1 1Q QR RS ST TU U. "
@@ -889,6 +899,8 @@ def func(x):
889
899
)
890
900
891
901
def test_else_jump_finally (self ):
902
+ if env .PYBEHAVIOR .bug39114 :
903
+ self .xfail ("https://bugs.python.org/issue39114" )
892
904
if env .PYBEHAVIOR .finally_jumps_back :
893
905
arcz = (
894
906
".1 1S ST TU UV VW W. "
@@ -1511,6 +1523,8 @@ async def print_sum(x, y): # 8
1511
1523
self .assertEqual (self .stdout (), "Compute 1 + 2 ...\n 1 + 2 = 3\n " )
1512
1524
1513
1525
def test_async_for (self ):
1526
+ if env .PYBEHAVIOR .bug39114 :
1527
+ self .xfail ("https://bugs.python.org/issue39114" )
1514
1528
self .check_coverage ("""\
1515
1529
import asyncio
1516
1530
0 commit comments