Digging to reasons for pending autoremovals I came across this bug 

First I had a strange problem with the X connection: I run Debian in a
chroot into which I ssh with "ssh -Y  localhost:XXXX". X-clients like
emacs run correctly, but dpkg-buildpackage failed with 


dh_auto_test -O--buildsystem=pybuild
        pybuild --test -i python{version} -p 2.7
I: pybuild base:184: cd /home/gerddie/debian-other/python-traits-
4.6.0/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v 
X11 connection rejected because of wrong authentication.
python -m unittest: cannot connect to X server localhost:11.0

Anywy, when I run the test manually then I can confirm the bug - with
different numbers though (see below).

======================================================================
FAIL: test_delegation_refleak
(traits.tests.test_regression.TestRegression)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gerddie/debian-other/python-traits-
4.6.0/.pybuild/pythonX.Y_2.7/build/traits/tests/test_regression.py",
line 173, in test_delegation_refleak
    self.assertEqual(counts[warmup:-1], counts[warmup+1:])
AssertionError: Lists differ: [83406, 83481, 83556, 83631] != [83481,
83556, 83631, 83706]

First differing element 0:
83406
83481

- [83406, 83481, 83556, 83631]
?  -------

+ [83481, 83556, 83631, 83706]
?                     +++++++


======================================================================
FAIL: test_no_leaking_notifiers
(traits.tests.test_regression.TestRegression)
Extended trait change notifications should not leaf
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gerddie/debian-other/python-traits-
4.6.0/.pybuild/pythonX.Y_2.7/build/traits/tests/test_regression.py",
line 125, in test_no_leaking_notifiers
    self.assertEqual(len(ctrait._notifiers(1)), 0)
AssertionError: 1 != 0

----------------------------------------------------------------------
Ran 538 tests in 24.723s

Reply via email to