Skip to content

Commit

Permalink
fixup! General minor code cleanup from suggestions by pycharm
Browse files Browse the repository at this point in the history
  • Loading branch information
timwoj committed Jan 9, 2023
1 parent d49d612 commit 25ac488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions btest
Original file line number Diff line number Diff line change
Expand Up @@ -2062,7 +2062,7 @@ class XMLReport(OutputHandler):
pass

@staticmethod
def makeTestCaseElement(self, doc, testsuite, name, duration):
def makeTestCaseElement(doc, testsuite, name, duration):
parts = name.split('.')
if len(parts) > 1:
classname = ".".join(parts[:-1])
Expand All @@ -2080,7 +2080,7 @@ class XMLReport(OutputHandler):
return e

@staticmethod
def getContext(self, test, context_file):
def getContext(test, context_file):
context = ""
for line in test.diagmsgs:
context += " % " + line + "\n"
Expand Down

0 comments on commit 25ac488

Please sign in to comment.