Open
Description
[ 9s] ============================= test session starts ==============================
[ 9s] platform linux -- Python 3.11.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/bin/python3.11
[ 9s] cachedir: .pytest_cache
[ 9s] rootdir: /home/abuild/rpmbuild/BUILD/python-executing-test-2.2.0-build/executing-2.2.0
[ 9s] configfile: pyproject.toml
[ 9s] collecting ... collected 14 items / 1 error
[ 9s]
[ 9s] ==================================== ERRORS ====================================
[ 9s] _____________________ ERROR collecting tests/test_main.py ______________________
[ 9s] /usr/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__
[ 9s] return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
[ 9s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 9s] /usr/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec
[ 9s] return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
[ 9s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 9s] /usr/lib/python3.11/site-packages/_pytest/python.py:224: in pytest_pycollect_makeitem
[ 9s] if not (inspect.isfunction(obj) or inspect.isfunction(get_real_func(obj))):
[ 9s] ^^^^^^^^^^^^^^^^^^
[ 9s] /usr/lib/python3.11/site-packages/_pytest/compat.py:210: in get_real_func
[ 9s] obj = inspect.unwrap(obj)
[ 9s] ^^^^^^^^^^^^^^^^^^^
[ 9s] /usr/lib64/python3.11/inspect.py:756: in unwrap
[ 9s] while not isinstance(func, type) and hasattr(func, '__wrapped__'):
[ 9s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 9s] tests/utils.py:83: in __getattr__
[ 9s] node = self.get_node(ast.Attribute)
[ 9s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 9s] tests/utils.py:35: in get_node
[ 9s] ex = self.get_executing(inspect.currentframe().f_back.f_back)
[ 9s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 9s] tests/utils.py:42: in get_executing
[ 9s] return Source.executing(frame)
[ 9s] ^^^^^^^^^^^^^^^^^^^^^^^
[ 9s] executing/executing.py:273: in executing
[ 9s] node_finder = NodeFinder(frame, stmts, tree, lasti, source)
[ 9s] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 9s] executing/_position_node_finder.py:170: in __init__
[ 9s] self.verify(self.result, instruction)
[ 9s] executing/_position_node_finder.py:938: in verify
[ 9s] raise VerifierFailure(title, node, instruction)
[ 9s] E executing._exceptions.VerifierFailure: ast.Call is not created from PRECALL
[ 9s] =========================== short test summary info ============================
[ 9s] ERROR tests/test_main.py - executing._exceptions.VerifierFailure: ast.Call is...
[ 9s] !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
[ 9s] =============================== 1 error in 0.30s ===============================
My test environment is as follows:
~> python3.11 --version
Python 3.11.13
~> pip freeze
asttokens==3.0.0
decorator==5.2.1
executing==2.2.0
iniconfig==2.1.0
ipython==8.37.0
jedi==0.19.2
littleutils==0.2.4
markdown-it-py==3.0.0
matplotlib-inline==0.1.7
mdurl==0.1.2
packaging==24.2
parso==0.8.4
pexpect==4.9.0
pluggy==1.6.0
prompt_toolkit==3.0.51
ptyprocess==0.7.0
pure_eval==0.2.3
Pygments==2.19.2
pytest==8.4.1
rich==14.0.0
rpm==4.20.1
setuptools==78.1.1
setuptools-scm==8.2.0
stack_data==0.6.3
toml==0.10.2
traitlets==5.14.3
wcwidth==0.2.13
wheel==0.45.1
Metadata
Metadata
Assignees
Labels
No labels