Repository: pytest-dev/pytest-xprocess (language: python)

Issue:
Unnecessary Print
**Is your feature request related to a problem? Please describe.**
Can this reminder be made suppressible, or hidden depending on a verbosity level?
https://github.com/pytest-dev/pytest-xprocess/blob/6dac644e7b6b17d9b970f6e9e2bf2ade539841dc/xprocess/pytest_xprocess.py#L62-L67



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 0f98587..3bdb840 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,3 +1,10 @@
+0.20.0 (UNRELEASED)
+-------------------
+
+- cleanup reminders will now only be printed for verbosity
+  levels equal or greater than 1
+
+
 0.19.0 (2022-05-23)
 -------------------
 


Test patch:
diff --git a/xprocess/pytest_xprocess.py b/xprocess/pytest_xprocess.py
index ad8be83..288b649 100644
--- a/xprocess/pytest_xprocess.py
+++ b/xprocess/pytest_xprocess.py
@@ -60,11 +60,13 @@ def pytest_runtest_makereport(item, call):
 
 
 def pytest_unconfigure(config):
-    print(
-        "pytest-xprocess reminder::Be sure to terminate the started process by running "
-        "'pytest --xkill' if you have not explicitly done so in your fixture with "
-        "'xprocess.getinfo(<process_name>).terminate()'."
-    )
+    verbosity_level = config.getoption("verbose")
+    if verbosity_level >= 1:
+        print(
+            "pytest-xprocess reminder::Be sure to terminate the started process "
+            "by running 'pytest --xkill' if you have not explicitly done so in your "
+            "fixture with 'xprocess.getinfo(<process_name>).terminate()'."
+        )
 
 
 def pytest_configure(config):