Skip to content

Intermittent errors during tests #15

Closed as not planned
Closed as not planned
@yurivict

Description

@yurivict

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions