Source: ipython
Version: 8.29.0-1
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python3.13

Hi Maintainer

The autopkgtests of this package fail with Python 3.13 [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/i/ipython/testing/amd64/


254s =================================== FAILURES
===================================
254s ___________________ TestCompleter.test_all_completions_dups
____________________
254s
254s self = <IPython.core.tests.test_completer.TestCompleter
testMethod=test_all_completions_dups>
254s
254s @pytest.mark.xfail(
254s sys.version_info.releaselevel in ("alpha",),
254s reason="Parso does not yet parse 3.13",
254s )
254s def test_all_completions_dups(self):
254s """
254s Make sure the output of `IPCompleter.all_completions` does not have
254s duplicated prefixes.
254s """
254s ip = get_ipython()
254s c = ip.Completer
254s ip.ex("class TestClass():\n\ta=1\n\ta1=2")
254s for jedi_status in [True, False]:
254s with provisionalcompleter():
254s ip.Completer.use_jedi = jedi_status
254s matches = c.all_completions("TestCl")
254s > assert matches == ["TestClass"], (jedi_status, matches)
254s E AssertionError: (True, [])
254s E assert [] == ['TestClass']
254s E
254s E Right contains one more item: 'TestClass'
254s E Use -v to get more diff
254s
254s /usr/lib/python3/dist-packages/IPython/core/tests/test_completer.py:461:
AssertionError

Reply via email to