[Python-modules-team] Bug#686331: objgraph: FTBFS with Python 3.3: tests fail

Jakub Wilk jwilk at debian.org
Fri Aug 31 08:27:25 UTC 2012


Source: objgraph
Version: 1.7.1-1
Severity: important
Tags: sid
User: debian-python at lists.debian.org
Usertags: python3.3

objgraph FTBFS if built against Python 3.3:
| + python3.3 setup.py test
| running test
| running egg_info
| writing objgraph.egg-info/PKG-INFO
| writing top-level names to objgraph.egg-info/top_level.txt
| writing dependency_links to objgraph.egg-info/dependency_links.txt
| reading manifest file 'objgraph.egg-info/SOURCES.txt'
| reading manifest template 'MANIFEST.in'
| writing manifest file 'objgraph.egg-info/SOURCES.txt'
| running build_ext
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/quoting.txt
| Doctest: quoting.txt ... FAIL
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/uncollectable.txt
| Doctest: uncollectable.txt ... ok
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/generator-sample.txt
| Doctest: generator-sample.txt ... ok
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/extra-info.txt
| Doctest: extra-info.txt ... FAIL
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/highlighting.txt
| Doctest: highlighting.txt ... ok
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/chain.txt
| Doctest: chain.txt ... ok
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/objgraph.txt
| Doctest: objgraph.txt ... ok
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/index.txt
| Doctest: index.txt ... FAIL
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/CHANGES.txt
| Doctest: CHANGES.txt ... ok
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/references.txt
| Doctest: references.txt ... ok
| /build/objgraph-hpCNME/objgraph-1.7.1/docs/HACKING.txt
| Doctest: HACKING.txt ... ok
| doctest_setup_py_works (tests)
| Doctest: tests.doctest_setup_py_works ... ok
|
| ======================================================================
| FAIL: /build/objgraph-hpCNME/objgraph-1.7.1/docs/quoting.txt
| Doctest: quoting.txt
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/python3.3/doctest.py", line 2154, in runTest
|     raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for quoting.txt
|   File "/build/objgraph-hpCNME/objgraph-1.7.1/docs/quoting.txt", line 0
|
| ----------------------------------------------------------------------
| File "/build/objgraph-hpCNME/objgraph-1.7.1/docs/quoting.txt", line 8, in quoting.txt
| Failed example:
|     objgraph.show_refs(all_the_chars, too_many=600,
|                        filename='all-the-chars.dot')
| Expected:
|     Graph written to all-the-chars.dot (513 nodes)
| Got:
|     Graph written to all-the-chars.dot (257 nodes)
|
|
| ======================================================================
| FAIL: /build/objgraph-hpCNME/objgraph-1.7.1/docs/extra-info.txt
| Doctest: extra-info.txt
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/python3.3/doctest.py", line 2154, in runTest
|     raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for extra-info.txt
|   File "/build/objgraph-hpCNME/objgraph-1.7.1/docs/extra-info.txt", line 0
|
| ----------------------------------------------------------------------
| File "/build/objgraph-hpCNME/objgraph-1.7.1/docs/extra-info.txt", line 12, in extra-info.txt
| Failed example:
|     objgraph.show_refs([y], extra_info=lambda x: hex(id(x)),
|                        filename='extra-info.png')
| Expected:
|     Graph written to ....dot (5 nodes)
|     Image generated as extra-info.png
| Got:
|     Graph written to /tmp/test-objgraph-2cv976/tmpqwpiyv.dot (4 nodes)
|     Image generated as extra-info.png
|
|
| ======================================================================
| FAIL: /build/objgraph-hpCNME/objgraph-1.7.1/docs/index.txt
| Doctest: index.txt
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/python3.3/doctest.py", line 2154, in runTest
|     raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for index.txt
|   File "/build/objgraph-hpCNME/objgraph-1.7.1/docs/index.txt", line 0
|
| ----------------------------------------------------------------------
| File "/build/objgraph-hpCNME/objgraph-1.7.1/docs/index.txt", line 15, in index.txt
| Failed example:
|     objgraph.show_refs([y], filename='sample-graph.png')
| Expected:
|     Graph written to ....dot (5 nodes)
|     Image generated as sample-graph.png
| Got:
|     Graph written to /tmp/test-objgraph-otzt95/tmp64ufq9.dot (4 nodes)
|     Image generated as sample-graph.png
|
|
| ----------------------------------------------------------------------
| Ran 12 tests in 3.021s
|
| FAILED (failures=3)
| make[1]: *** [override_dh_auto_test] Error 1

-- 
Jakub Wilk



More information about the Python-modules-team mailing list