[blivet:master 1/2] Generalize false positive regular expression for multiple pylint versions
mulhern
amulhern at redhat.com
Tue May 13 12:19:26 UTC 2014
The message was slightly changed between pylint versions 1.1 and 1.2, the
more general regular expression matches both.
Signed-off-by: mulhern <amulhern at redhat.com>
---
tests/pylint/pylint-false-positives | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/pylint/pylint-false-positives b/tests/pylint/pylint-false-positives
index 10b4614..78e71ad 100644
--- a/tests/pylint/pylint-false-positives
+++ b/tests/pylint/pylint-false-positives
@@ -18,5 +18,5 @@
^blivet/__init__.py:[[:digit:]]+: \[W0612\(unused\-variable\), enable_installer_mode\] Unused variable 'ROOT_PATH'$
^blivet/__init__.py:[[:digit:]]+: \[W0612\(unused\-variable\), enable_installer_mode\] Unused variable 'shortProductName'$
^dm.c: [[:digit:]]+: not running as root returning empty list$
-^tests/devicelibs_test/raid_test.py:[[:digit:]]+: \[E1120\(no\-value\-for\-parameter\), [[:alnum:]\.]+\] No value passed for parameter 'member_count' in function call$
-^tests/devicelibs_test/raid_test.py:[[:digit:]]+: \[E1120\(no\-value\-for\-parameter\), [[:alnum:]\.]+\] No value passed for parameter 'smallest_member_size' in function call$
+^tests/devicelibs_test/raid_test.py:[[:digit:]]+: \[E1120\(no\-value\-for\-parameter\), [[:alnum:]\.]+\] No value [[:alnum:] ]+ 'member_count' in [[:alnum:] ]+ call$
+^tests/devicelibs_test/raid_test.py:[[:digit:]]+: \[E1120\(no\-value\-for\-parameter\), [[:alnum:]\.]+\] No value [[:alnum:] ]+ 'smallest_member_size' in [[:alnum:] ]+ call$
--
1.8.3.1
More information about the anaconda-patches
mailing list