-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
rustpython -V
# Python 3.13.0alpha (heads/master:40acd5529
rustpython -m pip install pytest
cd /tmp
git clone https://github.com/xonsh/xonsh
cd xonsh
pytest===================================================================== test session starts ======================================================================
platform darwin -- Python 3.13.0alpha, pytest-9.0.2, pluggy-1.6.0
cachedir: .cache/pytest
rootdir: /private/tmp/xonsh
configfile: setup.cfg
testpaths: tests
plugins: xonsh-0.22.0
collecting ...
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 318, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 371, in _main
INTERNALERROR> config.hook.pytest_collection(session=session)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_hooks.py", line 512, in __call__
INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 167, in _multicall
INTERNALERROR> raise exception
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 150, in _multicall
INTERNALERROR> raise
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/logging.py", line 786, in pytest_collection
INTERNALERROR> with catching_logs(self.log_cli_handler, level=self.log_cli_level):
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 150, in _multicall
INTERNALERROR> raise
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/warnings.py", line 95, in pytest_collection
INTERNALERROR> with catch_warnings_for_item(
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 150, in _multicall
INTERNALERROR> raise
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/config/__init__.py", line 1405, in pytest_collection
INTERNALERROR> self._validate_config_options()
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/config/__init__.py", line 1403, in pytest_collection
INTERNALERROR> return (yield)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 121, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 382, in pytest_collection
INTERNALERROR> session.perform_collect()
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 867, in perform_collect
INTERNALERROR> hook.pytest_collection_finish(session=self)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 861, in perform_collect
INTERNALERROR> session=self, config=self.config, items=items
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 857, in perform_collect
INTERNALERROR> self.items.extend(self.genitems(node))
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 1023, in genitems
INTERNALERROR> yield from self.genitems(subnode)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 1023, in genitems
INTERNALERROR> yield from self.genitems(subnode)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 1020, in genitems
INTERNALERROR> rep, duplicate = self._collect_one_node(node, handle_dupes)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/main.py", line 883, in _collect_one_node
INTERNALERROR> rep = collect_one_node(node)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/runner.py", line 576, in collect_one_node
INTERNALERROR> rep: CollectReport = ihook.pytest_make_collect_report(collector=collector)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_hooks.py", line 512, in __call__
INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 167, in _multicall
INTERNALERROR> raise exception
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 150, in _multicall
INTERNALERROR> raise
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/capture.py", line 882, in pytest_make_collect_report
INTERNALERROR> self.suspend_global_capture()
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/capture.py", line 880, in pytest_make_collect_report
INTERNALERROR> rep = yield
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/pluggy/_callers.py", line 121, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/runner.py", line 420, in pytest_make_collect_report
INTERNALERROR> errorinfo = collector.repr_failure(call.excinfo)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/nodes.py", line 534, in repr_failure
INTERNALERROR> return self._repr_failure_py(excinfo, style=tbstyle)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/nodes.py", line 463, in _repr_failure_py
INTERNALERROR> truncate_args=truncate_args,
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/_code/code.py", line 765, in getrepr
INTERNALERROR> return fmt.repr_excinfo(self)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/_code/code.py", line 1200, in repr_excinfo
INTERNALERROR> reprtraceback = self.repr_traceback(excinfo_)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/_code/code.py", line 1134, in repr_traceback
INTERNALERROR> for entry in traceback
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/_code/code.py", line 1133, in <listcomp>
INTERNALERROR> self.repr_traceback_entry(entry, excinfo if last == entry else None)
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/_code/code.py", line 1070, in repr_traceback_entry
INTERNALERROR> end_line_index = entry.end_lineno_relative
INTERNALERROR> File "/Users/pc/.local/lib/rustpython3.13/site-packages/_pytest/_code/code.py", line 238, in end_lineno_relative
INTERNALERROR> if frame_summary.end_lineno is None: # pragma: no cover
INTERNALERROR> AttributeError: 'FrameSummary' object has no attribute 'end_lineno'coderabbitai
Metadata
Metadata
Assignees
Labels
No labels