[master 5/5] Prefer code consistency over pylint's complaints in tests

vpodzime installerbot-noreply at redhat.com
Fri Aug 14 05:31:53 UTC 2015


From: Vratislav Podzimek <vpodzime at redhat.com>

---
 tests/devices_test/device_properties_test.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/devices_test/device_properties_test.py b/tests/devices_test/device_properties_test.py
index dc0fabd..a99deb1 100644
--- a/tests/devices_test/device_properties_test.py
+++ b/tests/devices_test/device_properties_test.py
@@ -34,6 +34,8 @@
 
 BTRFS_MIN_MEMBER_SIZE = getFormat("btrfs").minSize
 
+# pylint: disable=unnecessary-lambda
+
 def xform(func):
     """ Simple wrapper function that transforms a function that takes
         a precalculated value and a message to a function that takes


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/0c5aac7656a3dc6357cfc89dc7ea333b81076b0b


More information about the anaconda-patches mailing list