Skip to content

Commit 992e7f7

Browse files
committed
rename variable
1 parent bd1a2e6 commit 992e7f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_pytest/terminal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,10 @@ def pytest_runtest_logfinish(self, nodeid):
453453
progress_length = len(" [100%]")
454454

455455
self._progress_nodeids_reported.add(nodeid)
456-
last_item = (
456+
is_last_item = (
457457
len(self._progress_nodeids_reported) == self._session.testscollected
458458
)
459-
if last_item:
459+
if is_last_item:
460460
self._write_progress_information_filling_space()
461461
else:
462462
w = self._width_of_current_line

0 commit comments

Comments
 (0)