(nobody sees the fnord -- remove relic from testing)
parent
c9d9769f83
commit
e32cad7820
|
@ -39,7 +39,6 @@ def strategy_byparents(sequence):
|
|||
|
||||
>>> sequence = testsequence
|
||||
>>> assert partindices("c/2/x") == (sequence.index("c"), sequence.index("c/2"), sequence.index("c/2/x"))
|
||||
fnord
|
||||
"""
|
||||
return tuple(sequence.index(item.rsplit('/', i)[0]) for i in range(item.count('/'), -1, -1))
|
||||
|
||||
|
|
Loading…
Reference in New Issue