aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/QtCore/bug_332.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/QtCore/bug_332.py b/tests/QtCore/bug_332.py
index ae087421b..32ff414ad 100644
--- a/tests/QtCore/bug_332.py
+++ b/tests/QtCore/bug_332.py
@@ -14,3 +14,5 @@ class TestBug(unittest.TestCase):
l.tryLock() # this cause a assertion
+if __name__ == '__main__':
+ unittest.main()