diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2010-12-28 19:43:00 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2010-12-29 09:54:58 -0300 |
commit | 7144634e350732901c8903b69febe417c2a9cb31 (patch) | |
tree | 251a7ff7d5f626e902aa5858e1a6b64c3164746c /tests/QtGui | |
parent | 25264046e8ed9d949b0cee38474c7f5b9d183f20 (diff) | |
download | pyside-7144634e350732901c8903b69febe417c2a9cb31.tar.gz pyside-7144634e350732901c8903b69febe417c2a9cb31.tar.xz pyside-7144634e350732901c8903b69febe417c2a9cb31.zip |
Fix test to avoid problems on slow computers.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'tests/QtGui')
-rw-r--r-- | tests/QtGui/virtual_protected_inheritance_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtGui/virtual_protected_inheritance_test.py b/tests/QtGui/virtual_protected_inheritance_test.py index 15de37d..be19952 100644 --- a/tests/QtGui/virtual_protected_inheritance_test.py +++ b/tests/QtGui/virtual_protected_inheritance_test.py @@ -57,7 +57,7 @@ class TimerEventTest(UsesQApplication): self.widget.killTimer(timer_id) - self.assertEqual(self.widget.runs, 5) + self.assert_(self.widget.runs >= self.widget.max_runs) if __name__ == '__main__': |