Skip to content

Intermittent errors during tests #15

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

Closed
yurivict opened this issue Jun 21, 2023 · 2 comments
Closed

Intermittent errors during tests #15

yurivict opened this issue Jun 21, 2023 · 2 comments

Comments

@yurivict
Copy link

This error occurs during every other run of tests:

=========================================================================================================== FAILURES ===========================================================================================================
_________________________________________________________________________________________________________ test_car_cdr _________________________________________________________________________________________________________

    def test_car_cdr():
    
        with pytest.raises(ConsError):
            car(object())
    
        with pytest.raises(ConsError):
            car(None)
    
        with pytest.raises(ConsError):
            car(tuple())
    
        with pytest.raises(ConsError):
            car([])
    
        with pytest.raises(ConsError):
            car(iter([]))
    
        with pytest.raises(ConsError):
>           car("ab")
E           Failed: DID NOT RAISE <class 'cons.core.ConsError'>

tests/test_cons.py:158: Failed
======================================================================================================= warnings summary =======================================================================================================

Version: 0.4.5
Python-3.9
FreeBSD 13.2

@brandonwillard
Copy link
Member

brandonwillard commented Jun 22, 2023

Just like pythological/etuples#24 (comment), I've added #16 to make sure everything works in the expected environments, because I cannot reproduce this issue locally.

@brandonwillard
Copy link
Member

It looks like your environment may be the issue.

@brandonwillard brandonwillard closed this as not planned Won't fix, can't repro, duplicate, stale Jun 22, 2023
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

2 participants