Skip to content

Commit

Permalink
TerminalReporter.sep -> TerminalReporter.write_sep
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Oct 26, 2023
1 parent 77a5b36 commit 8945967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ def pytest_terminal_summary(self, terminalreporter, exitstatus):

slowest = sorted(self.stats.items(), key=operator.itemgetter(1), reverse=True)
if not self.durations:
writer.sep("=", "slowest fixture durations")
writer.write_sep("=", "slowest fixture durations")
else:
writer.sep("=", "slowest %s fixture durations" % self.durations)
writer.write_sep("=", "slowest %s fixture durations" % self.durations)
slowest = slowest[:self.durations]


Expand Down

0 comments on commit 8945967

Please sign in to comment.