PQM: test failure
Olexandr Byelchenko
bialix at ukr.net
Sun Apr 1 23:29:20 BST 2007
======================================================================
FAIL: test_known_failure_ok_run (bzrlib.tests.test_selftest.TestRunner)
vvvv[log from bzrlib.tests.test_selftest.TestRunner.test_known_failure_ok_run]
^^^^[log from bzrlib.tests.test_selftest.TestRunner.test_known_failure_ok_run]
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pqm/bzr-pqm-workdir/home/+trunk/bzrlib/tests/test_selftest.py", line 941, in
test_known_failure_ok_run
stream.getvalue())
File "/home/pqm/bzr-pqm-workdir/home/+trunk/bzrlib/tests/__init__.py", line 798, in assertEqual
raise AssertionError("%snot equal:\na = %s\nb = %s\n"
AssertionError: not equal:
a = '\n----------------------------------------------------------------------\nRan 1 test in
0.000s\n\nOK (known_failures=1)\n'
b = '\n----------------------------------------------------------------------\nRan 1 test in
0.001s\n\nOK (known_failures=1)\n'
----------------------------------------------------------------------
I think it's a very bad style to make test depends on time intervals.
[µ]
More information about the bazaar
mailing list