objgraph docs/uncollectable.txt test fails with Python 3.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
objgraph |
Fix Committed
|
Undecided
|
Unassigned | ||
objgraph (Debian) |
Fix Released
|
Unknown
|
|||
objgraph (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Imported from Debian bug http://
Package: objgraph
Version: 1.7.2-2
Hello,
objgraph's test suite fails with python 3.4:
| $ python3.4 tests.py
| .......
| PendingDeprecat
| .
| =======
| FAIL: docs/uncollecta
| Doctest: uncollectable.txt
| -------
| Traceback (most recent call last):
| File "/usr/lib/
| raise self.failureExc
| AssertionError: Failed doctest test for uncollectable.txt
| File "docs/uncollect
|
| -------
| File "docs/uncollect
| Failed example:
| len(gc.garbage)
| Expected:
| 1
| Got:
| 0
It works fine with 2.7 and 3.3, so apparently Python 3.4 has some
changes in its garbage collection which fail that test?
Keeping at "normal" for now as Python 3.4 is still in experimental.
This will become serious (FTBFS) as soon as 3.4 becomes a supported
version in sid.
Thanks for considering,
Martin
--
Martin Pitt | http://
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
Related branches
Changed in objgraph (Debian): | |
importance: | Undecided → Unknown |
Changed in objgraph (Debian): | |
status: | New → Confirmed |
Changed in objgraph (Debian): | |
status: | Confirmed → Fix Released |
This can also be seen when running the autopkgtest with python3.4 as default:
http:// people. canonical. com/~pitti/ tmp/autopkgtest -py34/fail/ py34-objgraph/ results/