mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Silence comparison-with-itself in tests
Test code performs comparison to itself in order to verify __eq__ and __ne__ implementations. See: https://pagure.io/freeipa/issue/7758 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -19,6 +19,7 @@ def test_ipa_version():
|
||||
if hasattr(v4, '_rpmvercmp'):
|
||||
assert v4._rpmvercmp_func is not None
|
||||
|
||||
# pylint: disable=comparison-with-itself
|
||||
assert v3 < v4
|
||||
assert v3 <= v4
|
||||
assert v3 <= v3
|
||||
|
||||
Reference in New Issue
Block a user