From 375b4ae48def9734b6c93fdbf2bc99d684e2457d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 6 Feb 2022 07:51:18 -0500 Subject: debug: tweaks to make these clearer --- coverage/pytracer.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'coverage/pytracer.py') diff --git a/coverage/pytracer.py b/coverage/pytracer.py index 186eb427..f0319491 100644 --- a/coverage/pytracer.py +++ b/coverage/pytracer.py @@ -82,13 +82,13 @@ class PyTracer: id(self), len(self.data_stack), )) - if 0: + if 0: # if you want thread ids.. f.write(".{:x}.{:x}".format( self.thread.ident, self.threading.current_thread().ident, )) f.write(" {}".format(" ".join(map(str, args)))) - if 0: + if 0: # if you want callers.. f.write(" | ") stack = " / ".join( (fname or "???").rpartition("/")[-1] @@ -136,8 +136,7 @@ class PyTracer: else: self.started_context = False - # Entering a new frame. Decide if we should trace - # in this file. + # Entering a new frame. Decide if we should trace in this file. self._activity = True self.data_stack.append( ( -- cgit v1.2.1