summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-26 15:58:14 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-10-28 15:08:04 -0200
commit31a4f12f4cb358fa05726379c2a40106563e47ea (patch)
tree960aab397ad915b2c21d3279872d01e2d54e051a /tests
parent363ecb3461c54451c4766202a2eaaf95326a9d39 (diff)
downloadpyside-31a4f12f4cb358fa05726379c2a40106563e47ea.tar.gz
pyside-31a4f12f4cb358fa05726379c2a40106563e47ea.tar.xz
pyside-31a4f12f4cb358fa05726379c2a40106563e47ea.zip
Fix unit test for bug 430
Diffstat (limited to 'tests')
-rw-r--r--tests/QtGui/bug_430.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtGui/bug_430.py b/tests/QtGui/bug_430.py
index 256c4e2..8baa7c1 100644
--- a/tests/QtGui/bug_430.py
+++ b/tests/QtGui/bug_430.py
@@ -4,7 +4,7 @@ from PySide.QtGui import *
class ListModel(QAbstractListModel):
def rowCount(self, parent = QModelIndex()):
- return len(self._items)
+ return 0
app = QApplication([])
model = ListModel()