Skip to content

Commit

Permalink
dev-python/pytest-console-scripts: Fix retention-rel. test failures
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/923139
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Jan 28, 2024
1 parent e86940a commit 30fc9d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down Expand Up @@ -34,6 +34,6 @@ python_test() {
sys.exit(pytest.console_main())
EOF
chmod +x "${script}" || die
epytest
epytest -o tmp_path_retention_count=1
rm "${script}" || die
}

0 comments on commit 30fc9d7

Please sign in to comment.