blob: f5f81fd6d0a08a51cce2b77d61091770a24c3dcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
commit 566198730352f2353fd8332794409d7c9edf80e2
Author: Louis Sautier <sautier.louis@gmail.com>
Date: Wed Sep 8 00:53:28 2021 +0200
tests: skip man and python2
Those tests fail respectively when the documentation isn't built and when
python2 isn't available (probably specific to Gentoo).
diff --git a/tests/test_formatters/test_py.py b/tests/test_formatters/test_py.py
index 92b17604..28d2dd42 100644
--- a/tests/test_formatters/test_py.py
+++ b/tests/test_formatters/test_py.py
@@ -16,7 +16,7 @@ def _check_interpreter(interpreter):
return False
-@parameterized(["python2", "python3"])
+@parameterized(["python3"])
@with_setup(usual_setup_func, usual_teardown_func)
def test_paranoia(interpreter):
if not _check_interpreter(interpreter):
diff --git a/tests/test_options/test_help.py b/tests/test_options/test_help.py
index d934724a..60bc40a0 100644
--- a/tests/test_options/test_help.py
+++ b/tests/test_options/test_help.py
@@ -17,7 +17,7 @@ def test_help():
@with_setup(usual_setup_func, usual_teardown_func)
-def test_man():
+def _test_man():
yelp = subprocess.check_output(
['./rmlint', '--show-man'], stderr=subprocess.STDOUT
).decode('utf-8')
|