[Bug 2052724] Re: test_skip_verbose fails on python3.12

Bug Watch Updater 2052724 at bugs.launchpad.net
Thu Feb 8 18:49:32 UTC 2024


** Changed in: django-rich (Debian)
       Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2052724

Title:
  test_skip_verbose fails on python3.12

Status in django-rich package in Ubuntu:
  Confirmed
Status in django-rich package in Debian:
  New

Bug description:
  error log:
  https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/d/django-rich/20240207_144558_29826@/log.gz

  290s =================================== FAILURES ===================================
  290s ______________________ TestRunnerTests.test_skip_verbose _______________________
  290s 
  290s self = <tests.test_test.TestRunnerTests testMethod=test_skip_verbose>
  290s 
  290s     def test_skip_verbose(self):
  290s         result = self.run_test("-v", "2", f"{__name__}.ExampleTests.test_skip")
  290s         assert result.returncode == 0
  290s         lines = result.stderr.splitlines()
  290s         if sys.version_info >= (3, 11):
  290s >           assert lines[1:4] == [
  290s                 (
  290s                     "test_skip (tests.test_test.ExampleTests.test_skip) ... "
  290s                     + "skipped 'some reason'"
  290s                 ),
  290s                 "",
  290s                 "-" * 70,
  290s             ]
  290s E           assert ["skipped 'so...------------'] == ["test_skip (...------------']
  290s E             At index 0 diff: "skipped 'some reason'" != "test_skip (tests.test_test.ExampleTests.test_skip) ... skipped 'some reason'"
  290s E             Full diff:
  290s E               [
  290s E             -  "test_skip (tests.test_test.ExampleTests.test_skip) ... skipped 'some reason'",
  290s E             +  "skipped 'some reason'",
  290s E                '',
  290s E                '----------------------------------------------------------------------',
  290s E               ]
  290s 
  290s tests/test_test.py:224: AssertionError

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/django-rich/+bug/2052724/+subscriptions




More information about the Ubuntu-sponsors mailing list