summaryrefslogtreecommitdiff
path: root/src/tox/report.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tox/report.py')
-rw-r--r--src/tox/report.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tox/report.py b/src/tox/report.py
index f8a57a78..70c1de97 100644
--- a/src/tox/report.py
+++ b/src/tox/report.py
@@ -41,11 +41,11 @@ class _LogThreadLocal(local):
self.parent_ident = current_thread().ident # type: ignore[attr-defined]
old_start(self)
- old_start, Thread.start = Thread.start, new_start # type: ignore[assignment]
+ old_start, Thread.start = Thread.start, new_start # type: ignore[method-assign]
try:
yield
finally:
- Thread.start = old_start # type: ignore[assignment]
+ Thread.start = old_start # type: ignore[method-assign]
@property
def name(self) -> str: