aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/bug_1031.py
diff options
context:
space:
mode:
authorPaulo Alcantara <paulo.alcantara@openbossa.org>2011-10-31 13:38:19 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:56:16 -0300
commit64ffc4f61b874e461c559495ece6f963ce5153ee (patch)
tree6dccb915626f674454a44b824e488efb2e29837e /tests/QtCore/bug_1031.py
parent50bf9a570bebf4856645a086fcfbb11d2e3ae778 (diff)
Fix BUG #1031
Signed-off-by: Paulo Alcantara <paulo.alcantara@openbossa.org> Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/QtCore/bug_1031.py')
-rw-r--r--tests/QtCore/bug_1031.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/QtCore/bug_1031.py b/tests/QtCore/bug_1031.py
new file mode 100644
index 000000000..b97452543
--- /dev/null
+++ b/tests/QtCore/bug_1031.py
@@ -0,0 +1,5 @@
+from PySide.QtCore import QStateMachine, QState
+
+mach = QStateMachine()
+state = QState(mach)
+print(state.machine())