From e9ee831d9f11026938646b5622eeb298db35adeb Mon Sep 17 00:00:00 2001 From: Yusuke Kadowaki Date: Sun, 23 Oct 2022 21:52:36 +0900 Subject: [PATCH] Fix option type --- src/_pytest/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/main.py b/src/_pytest/main.py index ca2b976b2..1813f7904 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -232,7 +232,7 @@ def pytest_addoption(parser: Parser) -> None: "--tmp-path-retention-count", dest="tmp_path_retention_count", default=3, - type="int", + type=int, metavar="num", help="How many sessions should we keep the `tmp_path` directories, according to `tmp_path_retention_policy`.", )