doctests available but not run
Bug #1966532 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-tempita (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
I'm unsure what's the real cause, but the doctests are available but not run.
A build with DH_VERBOSE shows:
dh_auto_test -O--buildsystem
pybuild --test --test-nose -i python{version} -p 3.10
I: pybuild base:237: cd /home/ubuntu/
-------
Ran 0 tests in 0.012s
OK
That directory it cd's into is empty.
Related branches
~ahasenack/ubuntu/+source/python-tempita:jammy-tempita-2to3-ftbfs
Merged
into
ubuntu/+source/python-tempita:ubuntu/devel
at
revision 52402bfdb4e153575314854771c66c3a3fac548f
- Athos Ribeiro (community): Approve
- Canonical Server Core Reviewers: Pending requested
-
Diff: 365 lines (+319/-1)6 files modifieddebian/changelog (+11/-0)
debian/control (+2/-1)
debian/patches/2to3.patch (+236/-0)
debian/patches/fix-doc-tests.patch (+65/-0)
debian/patches/series (+2/-0)
debian/rules (+3/-0)
tags: | added: server-todo |
To post a comment you must log in.
This bug was fixed in the package python-tempita - 0.5.2-6ubuntu1
---------------
python-tempita (0.5.2-6ubuntu1) jammy; urgency=medium
* d/p/2to3.patch: quick python 3 conversion using 2to3, exactly how it doc-tests. patch: fix exception name raised in doctests
was being done automatically during build until python 3.10's
setuptools removed the 2to3 option from setup.py (LP: #1966323)
* Fix and run the existing doc tests (LP: #1966532):
- d/p/fix-
- d/rules: run doc tests
-- Andreas Hasenack <email address hidden> Fri, 25 Mar 2022 22:12:13 -0300