Skip to content

Commit d2167c1

Browse files
KKoukiourvykydal
authored andcommitted
tests: skip checks using Iterable from abc
python-3.13.1 broke compatibility with pylint. Revert this one the pylint issue [1] is fixed. [1] pylint-dev/pylint#10112 [2] pylint-dev/astroid#2656
1 parent e70f850 commit d2167c1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/unit_tests/pyanaconda_tests/core/test_kernel.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
import unittest
2020
from pyanaconda.core.kernel import KernelArguments, kernel_arguments
21-
from collections.abc import Iterable
21+
# FIXME: https://github.com/pylint-dev/pylint/issues/10112
22+
# Re-enable the following line when the issue is fixed
23+
# from collections.abc import Iterable
2224

2325

2426
class KernelArgumentsTests(unittest.TestCase):
@@ -77,7 +79,9 @@ def test_items(self):
7779

7880
ka = KernelArguments.from_defaults()
7981
it = ka.items()
80-
assert isinstance(it, Iterable)
82+
# FIXME: https://github.com/pylint-dev/pylint/issues/10112
83+
# Re-enable the following line when the issue is fixed
84+
# assert isinstance(it, Iterable)
8185
root_seen = False
8286
for k, v in it: # pylint: disable=unused-variable
8387
if k == "root":
@@ -91,7 +95,9 @@ def test_items_raw(self):
9195
"blah inst.foo=anything inst.nothing=indeed")
9296
it = ka.items_raw()
9397

94-
assert isinstance(it, Iterable)
98+
# FIXME: https://github.com/pylint-dev/pylint/issues/10112
99+
# Re-enable the following line when the issue is fixed
100+
# assert isinstance(it, Iterable)
95101

96102
res = dict()
97103
for k, v in it:

0 commit comments

Comments
 (0)