Closed as not planned
Description
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
Labels
No labels