Add test for bug#640.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
9c7755b080
commit
dc661c9e65
2 changed files with 12 additions and 0 deletions
11
tests/QtGui/bug_640.py
Normal file
11
tests/QtGui/bug_640.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import sys
|
||||
from PySide.QtGui import *
|
||||
import unittest
|
||||
|
||||
class Bug640(unittest.TestCase):
|
||||
def testIt(self):
|
||||
option = QStyleOptionGraphicsItem()
|
||||
a = option.state # crash!?
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue