Closed as not planned
Description
============================================================================================================ ERRORS ============================================================================================================
_____________________________________________________________________________________________ ERROR collecting tests/test_core.py ______________________________________________________________________________________________
tests/test_core.py:7: in <module>
from etuples.core import ExpressionTuple, InvalidExpression, KwdPair, etuple
etuples/__init__.py:2: in <module>
from .core import etuple
etuples/core.py:343: in <module>
def etuple(*args, **kwargs):
/usr/local/lib/python3.9/site-packages/multipledispatch/core.py:68: in _
dispatcher.add(types, func, on_ambiguity=on_ambiguity)
/usr/local/lib/python3.9/site-packages/multipledispatch/dispatcher.py:133: in add
raise TypeError("Tried to dispatch on non-type: %s\n"
E TypeError: Tried to dispatch on non-type: [<class 'object'>]
E In signature: <[<class 'object'>]>
E In function: etuple
___________________________________________________________________________________________ ERROR collecting tests/test_dispatch.py ____________________________________________________________________________________________
tests/test_dispatch.py:6: in <module>
from etuples.core import ExpressionTuple, KwdPair, etuple
etuples/__init__.py:2: in <module>
from .core import etuple
etuples/core.py:343: in <module>
def etuple(*args, **kwargs):
/usr/local/lib/python3.9/site-packages/multipledispatch/core.py:68: in _
dispatcher.add(types, func, on_ambiguity=on_ambiguity)
/usr/local/lib/python3.9/site-packages/multipledispatch/dispatcher.py:133: in add
raise TypeError("Tried to dispatch on non-type: %s\n"
E TypeError: Tried to dispatch on non-type: [<class 'object'>]
E In signature: <[<class 'object'>]>
E In function: etuple
======================================================================================================= warnings summary =======================================================================================================
../../../../../local/lib/python3.9/site-packages/multipledispatch/core.py:79
../../../../../local/lib/python3.9/site-packages/multipledispatch/core.py:79
/usr/local/lib/python3.9/site-packages/multipledispatch/core.py:79: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
spec = inspect.getargspec(func)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================================ 2 warnings, 2 errors in 0.78s =================================================================================================
Version: 0.3.9
Python-3.9
FreeBSD 13.2
Metadata
Metadata
Assignees
Labels
No labels