Skip to content

ValueError: list.remove(x): x not in list - #240

Open
thomie wants to merge 1 commit into
epoplavskis:masterfrom
thomie:static-seed-finder-bug
Open

ValueError: list.remove(x): x not in list#240
thomie wants to merge 1 commit into
epoplavskis:masterfrom
thomie:static-seed-finder-bug

Conversation

@thomie

@thomie thomie commented May 6, 2022

Copy link
Copy Markdown

There is a bug in StaticSeedFinder, which results in the following error when
running this test:

    def mark_failed(self, seed):
>       self._seeds.remove(seed)
E       ValueError: list.remove(x): x not in list

I'm not sure if the bug is in mark_failed (adding if seed in self._seeds: would fix it), or in add_node (perhaps discovered nodes should get added to self._seeds instead of self.candidates?), so I'm only providing a test at this moment.

There is a bug in `StaticSeedFinder`, which results in the following error when
running this test:

        def mark_failed(self, seed):
    >       self._seeds.remove(seed)
    E       ValueError: list.remove(x): x not in list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant