aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/bug_1031.py
diff options
context:
space:
mode:
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())