Skip to content

Commit

Permalink
update docker base image to v2.2.3 of viral-core; Update conftest.py …
Browse files Browse the repository at this point in the history
…to account for breaking changes in the newer version of pytest
  • Loading branch information
tomkinsc committed Oct 26, 2023
1 parent c9f7bb9 commit 0ed0de0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/broadinstitute/viral-core:2.2.1
FROM quay.io/broadinstitute/viral-core:2.2.3

LABEL maintainer "[email protected]"

Expand Down
6 changes: 3 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,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

0 comments on commit 0ed0de0

Please sign in to comment.