Merge pull request #8040 from symonk/remove-unused-var-in-pytester

stop assigning nextline if its potentially not used
This commit is contained in:
Ran Benita 2020-11-17 18:00:17 +02:00 committed by GitHub
commit 8ea8cdb36d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1819,7 +1819,6 @@ class LineMatcher:
raise TypeError("invalid type for lines2: {}".format(type(lines2).__name__))
lines2 = self._getlines(lines2)
lines1 = self.lines[:]
nextline = None
extralines = []
__tracebackhide__ = True
wnick = len(match_nickname) + 1