[Python-modules-team] Bug#655647: urwid: FTBFS: tests fail
Jakub Wilk
jwilk at debian.org
Thu Jan 12 22:48:17 UTC 2012
Source: urwid
Version: 1.0.1-2
Severity: serious
Justification: fails to build from source
urwid FTBFS on i386:
| ======================================================================
| FAIL: test_cursor_scrolling_region (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 233, in test_cursor_scrolling_region
| self.expect('\n' * 9 + 'aa\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| '\n\n\n\n\n\n\n\n\naa\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12'
| Got:
| '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n1'
|
| ======================================================================
| FAIL: test_defargs (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 199, in test_defargs
| self.expect('aaa ddd eee\n ccc fff bbb')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| 'aaa ddd eee\n ccc fff bbb'
| Got:
| 'XXX'
|
| ======================================================================
| FAIL: test_deletelines (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 145, in test_deletelines
| self.expect('1\n4')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| '1\n4'
| Got:
| '1'
|
| ======================================================================
| FAIL: test_insertlines (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 141, in test_insertlines
| self.expect('first\nsecond\n\n\n\n\n\n\n\n\nlast')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| 'first\nsecond\n\n\n\n\n\n\n\n\nlast'
| Got:
| 'first\n\n\n\n\n\n\n\n\n\nlast'
|
| ======================================================================
| FAIL: test_linefeed (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 129, in test_linefeed
| self.expect('hello\nworld')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| 'hello\nworld'
| Got:
| 'hello'
|
| ======================================================================
| FAIL: test_nullargs (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 203, in test_nullargs
| self.expect('aaa ddd eee\n ccc fff bbb')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| 'aaa ddd eee\n ccc fff bbb'
| Got:
| 'XXX'
|
| ======================================================================
| FAIL: test_scrolling_region_reverse (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 221, in test_scrolling_region_reverse
| self.expect('\n\nbbb\nXXX\n\naaa')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| '\n\nbbb\nXXX\n\naaa'
| Got:
| '\n\nbbb\n\n\naaa'
|
| ======================================================================
| FAIL: test_scrolling_region_simple (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 217, in test_scrolling_region_simple
| self.expect('aa' + '\n' * 9 + '2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| 'aa\n\n\n\n\n\n\n\n\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12'
| Got:
| '\n\n\n\n\n\n\n\n\n1'
|
| ======================================================================
| FAIL: test_wrap_backspace_tab (urwid.vterm_test.TermTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 255, in test_wrap_backspace_tab
| self.expect(' ' * (self.term.width - 1) + 'a')
| File "/build/urwid-LNlcpl/urwid-1.0.1/urwid/vterm_test.py", line 121, in expect
| self.assertEqual(got, what, desc)
| AssertionError: Expected:
| ' a'
| Got:
| ' t'
|
| ----------------------------------------------------------------------
| Ran 249 tests in 1.374s
|
| FAILED (failures=9)
--
Jakub Wilk
More information about the Python-modules-team
mailing list