[Bug 2052724] [NEW] test_skip_verbose fails on python3.12

Launchpad Bug Tracker 2052724 at bugs.launchpad.net
Thu Feb 8 17:56:29 UTC 2024


You have been subscribed to a public bug by Ravi Kant Sharma (ravi-sharma):

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

** Affects: django-rich (Ubuntu)
     Importance: Medium
     Assignee: Ravi Kant Sharma (ravi-sharma)
         Status: Confirmed

** Affects: django-rich (Debian)
     Importance: Unknown
         Status: Unknown

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



More information about the Ubuntu-sponsors mailing list