Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thomie
Copy link

@thomie thomie commented May 6, 2022

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