Skip to content

Commit 89f44c1

Browse files
committed
A better name for a thing I will soon delete
1 parent fdfc91c commit 89f44c1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

coverage/env.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class PYBEHAVIOR(object):
8787

8888
# Python 3.9a2 changed how return/finally was traced, but it was
8989
# temporary.
90-
bug39114 = (PYVERSION == (3, 9, 0, 'alpha', 2, 0))
90+
bpo39114 = (PYVERSION == (3, 9, 0, 'alpha', 2, 0))
9191

9292
# Coverage.py specifics.
9393

tests/test_arcs.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def test_finally_in_loop(self):
630630

631631

632632
def test_break_through_finally(self):
633-
if env.PYBEHAVIOR.bug39114:
633+
if env.PYBEHAVIOR.bpo39114:
634634
self.xfail("https://bugs.python.org/issue39114")
635635
if env.PYBEHAVIOR.finally_jumps_back:
636636
arcz = ".1 12 23 34 3D 45 56 67 68 7A 7D 8A A3 A7 BC CD D."
@@ -656,7 +656,7 @@ def test_break_through_finally(self):
656656
)
657657

658658
def test_continue_through_finally(self):
659-
if env.PYBEHAVIOR.bug39114:
659+
if env.PYBEHAVIOR.bpo39114:
660660
self.xfail("https://bugs.python.org/issue39114")
661661
if env.PYBEHAVIOR.finally_jumps_back:
662662
arcz = ".1 12 23 34 3D 45 56 67 68 73 7A 8A A3 A7 BC CD D."
@@ -695,7 +695,7 @@ def test_finally_in_loop_bug_92(self):
695695
)
696696

697697
def test_bug_212(self):
698-
if env.PYBEHAVIOR.bug39114:
698+
if env.PYBEHAVIOR.bpo39114:
699699
self.xfail("https://bugs.python.org/issue39114")
700700
# "except Exception as e" is crucial here.
701701
# Bug 212 said that the "if exc" line was incorrectly marked as only
@@ -819,7 +819,7 @@ def test_multiple_except_clauses(self):
819819
)
820820

821821
def test_return_finally(self):
822-
if env.PYBEHAVIOR.bug39114:
822+
if env.PYBEHAVIOR.bpo39114:
823823
self.xfail("https://bugs.python.org/issue39114")
824824
if env.PYBEHAVIOR.finally_jumps_back:
825825
arcz = ".1 12 29 9A AB BC C-1 -23 34 45 5-2 57 75 38 8-2"
@@ -843,7 +843,7 @@ def check_token(data):
843843
)
844844

845845
def test_except_jump_finally(self):
846-
if env.PYBEHAVIOR.bug39114:
846+
if env.PYBEHAVIOR.bpo39114:
847847
self.xfail("https://bugs.python.org/issue39114")
848848
if env.PYBEHAVIOR.finally_jumps_back:
849849
arcz = (
@@ -899,7 +899,7 @@ def func(x):
899899
)
900900

901901
def test_else_jump_finally(self):
902-
if env.PYBEHAVIOR.bug39114:
902+
if env.PYBEHAVIOR.bpo39114:
903903
self.xfail("https://bugs.python.org/issue39114")
904904
if env.PYBEHAVIOR.finally_jumps_back:
905905
arcz = (

0 commit comments

Comments
 (0)