[Python-modules-team] Bug#734586: objgraph docs/uncollectable.txt test fails with Python 3.4

Martin Pitt mpitt at debian.org
Wed Jan 8 10:19:25 UTC 2014


Package: objgraph
Version: 1.7.2-2

Hello,

objgraph's test suite fails with python 3.4:

| $ python3.4 tests.py 
| ..........F/usr/lib/python3.4/imp.py:32: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
|   PendingDeprecationWarning)
| .
| ======================================================================
| FAIL: docs/uncollectable.txt
| Doctest: uncollectable.txt
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/python3.4/doctest.py", line 2187, in runTest
|     raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for uncollectable.txt
|   File "docs/uncollectable.txt", line 0
| 
| ----------------------------------------------------------------------
| File "docs/uncollectable.txt", line 24, in uncollectable.txt
| 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://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Python-modules-team mailing list