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

Test failure under PyPy 3.9 #312

Open
tseaver opened this issue Aug 30, 2024 · 0 comments
Open

Test failure under PyPy 3.9 #312

tseaver opened this issue Aug 30, 2024 · 0 comments

Comments

@tseaver
Copy link
Member

tseaver commented Aug 30, 2024

Found this while adding GHA actions to PR #307.

$ tox - pypy39
...
=================================== FAILURES ===================================
____________ TestEvolutionManager.test_get_finished_steps_by_value _____________

self = <substanced.evolution.tests.test_evolution.TestEvolutionManager testMethod=test_get_finished_steps_by_value>

    def test_get_finished_steps_by_value(self):
        root = DummyRoot()
        inst = self._makeOne(root, None, None)
        inst.add_finished_step('abc')
        inst.add_finished_step('def')
>       steps = inst.get_finished_steps_by_value()

inst       = <substanced.evolution.EvolutionManager object at 0x0000000004483ef8>
root       = <substanced.evolution.tests.test_evolution.DummyRoot object at 0x0000000004483f30>
self       = <substanced.evolution.tests.test_evolution.TestEvolutionManager testMethod=test_get_finished_steps_by_value>

substanced/evolution/tests/test_evolution.py:37: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <substanced.evolution.EvolutionManager object at 0x0000000004483ef8>

    def get_finished_steps_by_value(self):
>       return reversed(self.get_finished_steps().byValue(0))
E       TypeError: 'reversesequenceiterator' has no length

self       = <substanced.evolution.EvolutionManager object at 0x0000000004483ef8>

substanced/evolution/__init__.py:48: TypeError

For now, I'm just disabling the CI for `pypy39' in that PR.

tseaver added a commit that referenced this issue Aug 30, 2024
Test failure tracked in #312
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

No branches or pull requests

1 participant