Skip to content

Commit d932a92

Browse files
committed
fix: tests
1 parent 99b925f commit d932a92

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/walkers/test_anonymous.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ def test_extract(
6969
else:
7070
assert len(walks) <= max_walks
7171
for walk in walks:
72-
assert not walk[0].isnumeric()
73-
for obj in walk[2::2]:
72+
for obj in walk[1::2]:
7473
assert obj.isnumeric()
7574
if not with_reverse:
7675
assert walk[0] == root

tests/walkers/test_halk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
MAX_DEPTHS = range(15)
3030
KGS = [KG_LOOP, KG_CHAIN]
31-
MAX_WALKS = [None, 0, 1, 2, 3, 4, 5]
31+
MAX_WALKS = [None, 1, 2, 3, 4, 5]
3232
ROOTS_WITHOUT_URL = ["Alice", "Bob", "Dean"]
3333
WITH_REVERSE = [False, True]
3434

0 commit comments

Comments
 (0)