Skip to content

Commit

Permalink
Merge pull request #87 from broadinstitute/ct-bump-pytest
Browse files Browse the repository at this point in the history
bump pytest version; update related deprecated functionality
  • Loading branch information
tomkinsc committed Oct 26, 2023
2 parents 2bca3e7 + 8945967 commit f1a2053
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ def pytest_terminal_summary(self, terminalreporter, exitstatus):
if self.durations is None:
return

writer = terminalreporter.writer
writer = terminalreporter

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
2 changes: 1 addition & 1 deletion requirements-conda-tests.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
coveralls>=1.3.0
lxml>=4.3.3
mock>=2.0.0
pytest>=5.2.0,<=5.3.5
pytest>=7.4.3,<=8
pytest-cov>=2.6.1
pytest-mock>=1.10.0
pytest-xdist>=1.26.1
Expand Down

0 comments on commit f1a2053

Please sign in to comment.