From 28c29a72242e76dab658fe07f104961889c85c12 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 21 Dec 2019 12:29:55 -0500 Subject: bpo 39114 broke 3.9, but maybe it's their bug --- coverage/env.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'coverage/env.py') diff --git a/coverage/env.py b/coverage/env.py index 0d4642ef..1c09caf1 100644 --- a/coverage/env.py +++ b/coverage/env.py @@ -81,6 +81,10 @@ class PYBEHAVIOR(object): # Python 3.9a1 made sys.argv[0] and other reported files absolute paths. report_absolute_files = (PYVERSION >= (3, 9)) + # Python 3.9a2 changed how return/finally was traced, but it could be + # temporary. + bug39114 = (PYVERSION >= (3, 9, 0, 'alpha', 2)) + # Coverage.py specifics. # Are we using the C-implemented trace function? -- cgit v1.2.1