Unittest picking up no test is flagged as a failure with python 3.12
Bug #2051977 reported by
Pushkar Kulkarni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
factory-boy (Ubuntu) |
Fix Released
|
Undecided
|
Graham Inggs |
Bug Description
The test unit-tests-p3 has been running 0 tests for a long time (perhaps since its addition in 2.11.1-2) but surely since 2.11.1-5 [1]. This was deemed as success until Python 3.12 decided [2] to deem it as a failure [3].
I am not sure if we should investigate why no tests were ever (there's evidence for the last three releases) picked up by `unit-test-p3`, in the short term (I tried running the unittests and a lot of them seem to fail). Perhaps, in the shorter term, we need to work around the new unittest behavior of 3.12.
Related branches
~pushkarnk/ubuntu/+source/factory-boy:fix-2051977
Merged
into
ubuntu/+source/factory-boy:ubuntu/devel
at
revision f1670118665e248e2343291ee09ee37eb80d7567
- Graham Inggs (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 42 lines (+11/-4)3 files modifieddebian/changelog (+6/-0)
debian/control (+2/-1)
debian/tests/control (+3/-3)
description: | updated |
description: | updated |
Changed in factory-boy (Ubuntu): | |
assignee: | nobody → Graham Inggs (ginggs) |
status: | New → In Progress |
Changed in factory-boy (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package factory-boy - 2.11.1-7ubuntu1
---------------
factory-boy (2.11.1-7ubuntu1) noble; urgency=medium
* d/control/test: Comment out unit-test-p3 which runs no tests (LP: #2051977)
-- Pushkar Kulkarni <email address hidden> Fri, 02 Feb 2024 00:32:02 +0530